Added zfs-load-key.service
Source: https://wiki.archlinux.org/title/ZFS#Unlock_at_boot_time:_systemd
This commit is contained in:
parent
cc51eb4e3b
commit
b57011380f
14
zfs-load-key.service
Normal file
14
zfs-load-key.service
Normal file
@ -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…
x
Reference in New Issue
Block a user