xref: /freebsd/sys/contrib/openzfs/etc/systemd/system/zfs-volume-wait.service.in (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1[Unit]
2Description=Wait for ZFS Volume (zvol) links in /dev
3DefaultDependencies=no
4After=systemd-udev-settle.service
5After=zfs-import.target
6ConditionPathIsDirectory=/sys/module/zfs
7
8[Service]
9Type=oneshot
10RemainAfterExit=yes
11EnvironmentFile=-@initconfdir@/zfs
12ExecStart=@bindir@/zvol_wait
13
14[Install]
15WantedBy=zfs-volumes.target
16