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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4350
  • Loading branch information
ggzengel authored and Chunwei Chen committed Sep 7, 2016
1 parent 9e9bd38 commit 4f85477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/systemd/system/zfs-share.service.in
Original file line number Diff line number Diff line change
@@ -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 4f85477

Please sign in to comment.