summaryrefslogtreecommitdiffstats
path: root/systemd/init-s3.service
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-06-12 22:13:29 +0200
committerGeorg Pfuetzenreuter2022-06-12 22:15:03 +0200
commitdf586b4892c57ba7b14dc9400cc684d0ed0faff8 (patch)
treeeaec9c60647e3b01242e0dddf187d6ac15628964 /systemd/init-s3.service
parentf655c72534d1700010c6448e6719ae9491680b5d (diff)
downloadsystem-df586b4892c57ba7b14dc9400cc684d0ed0faff8.tar.gz
system-df586b4892c57ba7b14dc9400cc684d0ed0faff8.tar.bz2
system-df586b4892c57ba7b14dc9400cc684d0ed0faff8.zip
Init S3/CryFS startup script
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'systemd/init-s3.service')
-rw-r--r--systemd/init-s3.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/init-s3.service b/systemd/init-s3.service
new file mode 100644
index 0000000..95df4db
--- /dev/null
+++ b/systemd/init-s3.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=LYSERGIC S3 Initiator
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/local/bin/init-s3.sh start
+ExecStop=/usr/local/bin/init-s3.sh stop
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target
+