From ff2a2b208dfd42151e9308a38308bd02d0e16587 Mon Sep 17 00:00:00 2001 From: Grischa Zengel Date: Fri, 19 Feb 2016 19:20:55 +0100 Subject: [PATCH] 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 Signed-off-by: Brian Behlendorf Closes #4350 --- etc/systemd/system/zfs-share.service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in index c27bbf903e..1230320e33 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]