mirror_zfs/etc/systemd/system/zfs-volume-wait.service.in

16 lines
320 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Wait for ZFS Volume (zvol) links in /dev
DefaultDependencies=no
After=systemd-udev-settle.service
After=zfs-import.target
ConditionPathIsDirectory=/sys/module/zfs
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-@initconfdir@/zfs
ExecStart=zvol_wait
[Install]
WantedBy=zfs-volumes.target