aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/ykfde.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/ykfde.service')
-rw-r--r--systemd/ykfde.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/ykfde.service b/systemd/ykfde.service
new file mode 100644
index 0000000..870529b
--- /dev/null
+++ b/systemd/ykfde.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Yubikey full disk encryption
+
+[Service]
+Type=oneshot
+ExecStart=-/usr/bin/ykfde
+ExecStart=/usr/bin/ykfde-cpio
+ExecStop=/usr/bin/ykfde-cpio
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target