Blame SOURCES/nfs-utils-2.3.1-systemd-gssproxy-restart.patch

d50f3a
diff -up nfs-utils-2.3.3/systemd/nfs-server.service.orig nfs-utils-2.3.3/systemd/nfs-server.service
d50f3a
--- nfs-utils-2.3.3/systemd/nfs-server.service.orig	2020-12-11 09:05:23.499222371 -0500
d50f3a
+++ nfs-utils-2.3.3/systemd/nfs-server.service	2020-12-11 09:06:38.970186395 -0500
d50f3a
@@ -23,6 +23,7 @@ Type=oneshot
c88dcf
 RemainAfterExit=yes
d50f3a
 ExecStartPre=-/usr/sbin/exportfs -r
c88dcf
 ExecStart=/usr/sbin/rpc.nfsd
c88dcf
+ExecStart=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi'
c88dcf
 ExecStop=/usr/sbin/rpc.nfsd 0
c88dcf
 ExecStopPost=/usr/sbin/exportfs -au
c88dcf
 ExecStopPost=/usr/sbin/exportfs -f