ansible-edda/playbooks/filesystem/yggdrasil/etc/systemd/system/zfs-load-key-hpool.service

18 lines
368 B
Desktop File

[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