Source: https://wiki.archlinux.org/title/ZFS#Unlock_at_boot_time:_systemdmaster
parent
cc51eb4e3b
commit
b57011380f
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Load encryption keys
|
||||||
|
DefaultDependencies=no
|
||||||
|
After=zfs-import.target
|
||||||
|
Before=zfs-mount.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/bin/zfs load-key -a
|
||||||
|
StandardInput=tty-force
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=zfs-mount.service
|
Loading…
Reference in new issue