Files
mirror_zfs/etc/systemd/system/zfs-mount.service.in
T

26 lines
594 B
Plaintext
Raw Normal View History

2014-01-19 15:36:49 +01:00
[Unit]
Description=Mount ZFS filesystems
2017-09-05 22:50:35 +02:00
Documentation=man:zfs(8)
2014-01-19 15:36:49 +01:00
DefaultDependencies=no
After=systemd-udev-settle.service
2017-10-30 16:18:26 -04:00
After=zfs-import.target
2016-05-25 10:48:12 -07:00
After=systemd-remount-fs.service
2014-01-19 15:36:49 +01:00
Before=local-fs.target
ConditionPathIsDirectory=/sys/module/zfs
2014-01-19 15:36:49 +01:00
2024-12-14 00:50:50 +03:00
# This merely tells the service manager
# that unmounting everything undoes the
# effect of this service. No extra logic
# is ran as a result of these settings.
Conflicts=umount.target
Before=umount.target
2014-01-19 15:36:49 +01:00
[Service]
Type=oneshot
RemainAfterExit=yes
2022-02-22 20:59:11 +00:00
EnvironmentFile=-@initconfdir@/zfs
ExecStart=@sbindir@/zfs mount -a
2016-05-25 10:48:12 -07:00
[Install]
WantedBy=zfs.target