summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGrischa Zengel <[email protected]>2016-02-19 19:20:55 +0100
committerNed Bass <[email protected]>2016-09-05 16:07:09 -0700
commitff2a2b208dfd42151e9308a38308bd02d0e16587 (patch)
treed152ef41878ef34ead16e0820ddd4b2d0664ac57 /etc
parent1db6030de263e49cf0c701436ad8a5f2944b510c (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')
-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]