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