12 lines
591 B
Diff
12 lines
591 B
Diff
diff -up nfs-utils-2.3.3/systemd/nfs-server.service.orig nfs-utils-2.3.3/systemd/nfs-server.service
|
|
--- nfs-utils-2.3.3/systemd/nfs-server.service.orig 2020-12-11 09:05:23.499222371 -0500
|
|
+++ nfs-utils-2.3.3/systemd/nfs-server.service 2020-12-11 09:06:38.970186395 -0500
|
|
@@ -23,6 +23,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
|