zfs/etc/systemd/system/zfs-mount.service.in

19 lines
377 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Mount ZFS filesystems
Documentation=man:zfs(8)
DefaultDependencies=no
After=systemd-udev-settle.service
After=zfs-import.target
After=systemd-remount-fs.service
Before=local-fs.target
ConditionPathIsDirectory=/sys/module/zfs
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-@initconfdir@/zfs
ExecStart=zfs mount -a
[Install]
WantedBy=zfs.target