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 <github.zfsonlinux@zengel.info> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #4350
This commit is contained in:
parent
1db6030de2
commit
ff2a2b208d
|
@ -1,10 +1,10 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ZFS file system shares
|
Description=ZFS file system shares
|
||||||
After=nfs-server.service
|
After=nfs-server.service nfs-kernel-server.service
|
||||||
After=smb.service
|
After=smb.service
|
||||||
After=zfs-mount.service
|
After=zfs-mount.service
|
||||||
Requires=zfs-mount.service
|
Requires=zfs-mount.service
|
||||||
PartOf=nfs-server.service
|
PartOf=nfs-server.service nfs-kernel-server.service
|
||||||
PartOf=smb.service
|
PartOf=smb.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in New Issue