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

bc9fd4
diff -up nfs-utils-2.3.1/systemd/nfs-server.service.orig nfs-utils-2.3.1/systemd/nfs-server.service
bc9fd4
--- nfs-utils-2.3.1/systemd/nfs-server.service.orig	2018-01-19 10:25:38.153513857 -0500
bc9fd4
+++ nfs-utils-2.3.1/systemd/nfs-server.service	2018-01-19 10:30:52.977245126 -0500
bc9fd4
@@ -26,6 +26,7 @@ Type=oneshot
bc9fd4
 RemainAfterExit=yes
bc9fd4
 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