]> code.delx.au - monosys/commitdiff
Fixed service more
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 31 Oct 2015 00:02:09 +0000 (11:02 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 31 Oct 2015 00:02:09 +0000 (11:02 +1100)
systemd/system/disable-crypto_keyfile@.service

index 7959532dd35e6f62a7c9c2b497dcc3ec42ced45c..26ce0068bdeac4ecbc8fa99b8cd4d3b6f92418d4 100644 (file)
@@ -1,10 +1,10 @@
 [Unit]
-Description=Disable /root/crypto_keyfile.bin on every boot
+Description=Disable /crypto_keyfile.bin on every boot
 After=basic.target
 
 [Service]
 Type=oneshot
-ExecStart=cryptsetup luksRemoveKey /dev/disk/by-uuid/%i /crypto_keyfile.bin
+ExecStart=/bin/cryptsetup luksRemoveKey /dev/disk/by-uuid/%i /crypto_keyfile.bin
 SuccessExitStatus=2
 
 [Install]