2020-12-17 15:50:29 +00:00
|
|
|
diff -up nfs-utils-2.5.2/systemd/nfs-server.service.orig nfs-utils-2.5.2/systemd/nfs-server.service
|
|
|
|
--- nfs-utils-2.5.2/systemd/nfs-server.service.orig 2020-12-16 12:31:27.677558163 -0500
|
|
|
|
+++ nfs-utils-2.5.2/systemd/nfs-server.service 2020-12-16 12:33:56.751806659 -0500
|
|
|
|
@@ -23,6 +23,7 @@ Type=oneshot
|
2020-10-15 19:04:16 +00:00
|
|
|
RemainAfterExit=yes
|
2020-12-17 15:50:29 +00:00
|
|
|
ExecStartPre=-/usr/sbin/exportfs -r
|
2020-10-15 19:04:16 +00:00
|
|
|
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
|