summaryrefslogtreecommitdiffstats
path: root/etc/systemd
diff options
context:
space:
mode:
authorGrischa Zengel <[email protected]>2016-02-19 19:20:55 +0100
committerBrian Behlendorf <[email protected]>2016-02-25 10:19:09 -0800
commite79a6bacc6666233e109513b614d19d9d7742820 (patch)
treea1472931433ca5b251685377591c1a7ef61d4f69 /etc/systemd
parent8a09d5fd463120ee5d527b4d40d029b37a0b8d6e (diff)
Add nfs-kernel-server for Debian
Debian based systems use nfs-kernel-server as the service name. List both nfs-server.service and nfs-kernel-server.service so this service will work on multiple distributions. Signed-off-by: Grischa Zengel <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4350
Diffstat (limited to 'etc/systemd')
-rw-r--r--etc/systemd/system/zfs-share.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in
index c27bbf903..1230320e3 100644
--- a/etc/systemd/system/zfs-share.service.in
+++ b/etc/systemd/system/zfs-share.service.in
@@ -1,10 +1,10 @@
[Unit]
Description=ZFS file system shares
-After=nfs-server.service
+After=nfs-server.service nfs-kernel-server.service
After=smb.service
After=zfs-mount.service
Requires=zfs-mount.service
-PartOf=nfs-server.service
+PartOf=nfs-server.service nfs-kernel-server.service
PartOf=smb.service
[Service]