1[Unit] 2Description=Mount ZFS filesystems 3Documentation=man:zfs(8) 4DefaultDependencies=no 5After=systemd-udev-settle.service 6After=zfs-import.target 7After=systemd-remount-fs.service 8Before=local-fs.target 9ConditionPathIsDirectory=/sys/module/zfs 10 11# This merely tells the service manager 12# that unmounting everything undoes the 13# effect of this service. No extra logic 14# is ran as a result of these settings. 15Conflicts=umount.target 16Before=umount.target 17 18[Service] 19Type=oneshot 20RemainAfterExit=yes 21EnvironmentFile=-@initconfdir@/zfs 22ExecStart=@sbindir@/zfs mount -a 23 24[Install] 25WantedBy=zfs.target 26