diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-06-05 02:56:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-06-05 02:56:15 +0100 |
commit | 4594caec9341d17a10db3f9a8c96ec2a9b2c87a6 (patch) | |
tree | c62d3d186ef42bbe303a85bef39d8f0983e3fa8a /sys-fs/zfs-utils/files/zfs.service.in | |
parent | b96f6791ecfaf22e1a39f3ccf49479345c353b32 (diff) |
give userspace packages a more, userspace name
Diffstat (limited to 'sys-fs/zfs-utils/files/zfs.service.in')
-rw-r--r-- | sys-fs/zfs-utils/files/zfs.service.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/zfs-utils/files/zfs.service.in b/sys-fs/zfs-utils/files/zfs.service.in new file mode 100644 index 00000000..c390a480 --- /dev/null +++ b/sys-fs/zfs-utils/files/zfs.service.in @@ -0,0 +1,16 @@ +[Unit] +Description=ZFS filesystems setup +Before=network.target +After=systemd-udev-settle.target local-fs.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStartPre=/sbin/modprobe zfs +ExecStartPre=/usr/bin/test -c /dev/zfs +ExecStart=/usr/libexec/zfs-init.sh +ExecStop=@sbindir@/zfs umount -a + +[Install] +WantedBy=multi-user.target + |