8d2002551c
Signed-off-by: Steve Dickson <steved@redhat.com>
12 lines
604 B
Diff
12 lines
604 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 $RPCNFSDARGS
|
|
+ExecStart=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl restart gssproxy ; fi'
|
|
ExecStop=/usr/sbin/rpc.nfsd 0
|
|
ExecStopPost=/usr/sbin/exportfs -au
|
|
ExecStopPost=/usr/sbin/exportfs -f
|