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

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