summaryrefslogtreecommitdiff
path: root/cryptfs.service.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-28 23:13:38 +0200
committerErich Eckner <git@eckner.net>2017-10-28 23:13:38 +0200
commitd079e330e35093c0f821d1f1d007ccd9c004dd0c (patch)
tree517cdc5fc9caea832771fadbc9dc63108cd0037e /cryptfs.service.in
parenta9b6c51da7e3016d0150f70c7ac7675d725d77c0 (diff)
downloadcryptfs-daemon-d079e330e35093c0f821d1f1d007ccd9c004dd0c.tar.xz
sollte jetzt fuer alle passen ...
Diffstat (limited to 'cryptfs.service.in')
-rw-r--r--cryptfs.service.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/cryptfs.service.in b/cryptfs.service.in
new file mode 100644
index 0000000..be1003e
--- /dev/null
+++ b/cryptfs.service.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=Decrypt and mount encrypted partitions.
+Requires=network-online.target local-fs.target
+After=network-online.target local-fs.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=#BINDIR#/cryptfs
+ExecStop=#BINDIR#/cryptfs -u
+
+[Install]
+WantedBy=multi-user.target