9c46e381f9
Remove nfs server legacy systemd unit files Signed-off-by: Steve Dickson <steved@redhat.com>
12 lines
590 B
Diff
12 lines
590 B
Diff
diff -up nfs-utils-2.3.1/systemd/nfs-server.service.orig nfs-utils-2.3.1/systemd/nfs-server.service
|
|
--- nfs-utils-2.3.1/systemd/nfs-server.service.orig 2018-01-19 10:25:38.153513857 -0500
|
|
+++ nfs-utils-2.3.1/systemd/nfs-server.service 2018-01-19 10:30:52.977245126 -0500
|
|
@@ -26,6 +26,7 @@ Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStartPre=/usr/sbin/exportfs -r
|
|
ExecStart=/usr/sbin/rpc.nfsd
|
|
+ExecStart=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi'
|
|
ExecStop=/usr/sbin/rpc.nfsd 0
|
|
ExecStopPost=/usr/sbin/exportfs -au
|
|
ExecStopPost=/usr/sbin/exportfs -f
|