|
@@ -1,4 +1,4 @@
|
|
-# /etc/systemd/system/zfs-load-key-all.service
|
|
|
|
|
|
+# /etc/systemd/system/zfs-load-keys.service
|
|
|
|
|
|
[Unit]
|
|
[Unit]
|
|
Description=Load encryption keys
|
|
Description=Load encryption keys
|
|
@@ -9,7 +9,7 @@ After=zfs-import.target
|
|
[Service]
|
|
[Service]
|
|
Type=oneshot
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
RemainAfterExit=yes
|
|
-ExecStart=/usr/bin/bash -c '/usr/bin/zfs load-key -a'
|
|
|
|
|
|
+ExecStart=/bin/bash -c '/usr/bin/zfs load-key -a'
|
|
|
|
|
|
[Install]
|
|
[Install]
|
|
WantedBy=zfs-mount.service
|
|
WantedBy=zfs-mount.service
|