xref: /freebsd/sys/contrib/openzfs/etc/systemd/system/zfs-volume-wait.service.in (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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