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

16 lines
329 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=@bindir@/zvol_wait
[Install]
WantedBy=zfs-volumes.target