diff options
author | Manuel Conzelmann | 2018-01-26 11:24:33 +0100 |
---|---|---|
committer | Manuel Conzelmann | 2018-01-26 12:53:55 +0100 |
commit | 5e73321b2d48d62624b980d4675d121e0e7d53de (patch) | |
tree | 939f73e6dd04cc3e921592059f006a2e61e27ed2 /manolo.luksopenwithoutkey.service | |
download | aur-5e73321b2d48d62624b980d4675d121e0e7d53de.tar.gz |
initial commit
Diffstat (limited to 'manolo.luksopenwithoutkey.service')
-rw-r--r-- | manolo.luksopenwithoutkey.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/manolo.luksopenwithoutkey.service b/manolo.luksopenwithoutkey.service new file mode 100644 index 000000000000..69791634c2e3 --- /dev/null +++ b/manolo.luksopenwithoutkey.service @@ -0,0 +1,20 @@ +# selbst erstellt 20.1.18 + +[Unit] +Description=Unlock Encrypted Device for MD RAID 1 +Conflicts=umount.target +DefaultDependencies=no +BindsTo=dev-mapper-%i.device +Before=mnt-daten.mount +After=dev-md1.device mdmonitor.service +Requires=dev-md1.device mdmonitor.service +ConditionPathExists=!/dev/disk/by-uuid/BA19-64EE + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=/usr/lib/systemd/systemd-cryptsetup attach 'storage' '/dev/md1' 'none' 'luks'; +#ExecStop=/usr/bin/systemctl stop --no-block mnt-dongle.mount + +[Install] +WantedBy=basic.target |