Skip to content

Commit

Permalink
Add nfs-kernel-server for Debian
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ggzengel authored and behlendorf committed Feb 25, 2016
1 parent 8a09d5f commit e79a6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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]
Expand Down

0 comments on commit e79a6ba

Please sign in to comment.