ansible-edda/plays/roles/system_zfs/files/load_key/zfs-load-key-hpool.service

18 lines
368 B
SYSTEMD
Raw Normal View History

2022-10-12 22:02:11 +02:00
[Unit]
Description=Load encryption key for ZFS hpool
Documentation=man:zfs(8)
DefaultDependencies=no
After=systemd-udev-settle.service
After=zfs-import.target
After=systemd-remount-fs.service
Before=zfs-mount.service
ConditionPathIsDirectory=/sys/module/zfs
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/zfs load-key hpool
[Install]
WantedBy=zfs.target