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

5fd2c0
diff -up nfs-utils-1.3.0/systemd/nfs-server.service.orig nfs-utils-1.3.0/systemd/nfs-server.service
5fd2c0
--- nfs-utils-1.3.0/systemd/nfs-server.service.orig	2017-12-12 10:16:47.164190963 -0500
5fd2c0
+++ nfs-utils-1.3.0/systemd/nfs-server.service	2017-12-12 10:54:16.671323896 -0500
5fd2c0
@@ -25,8 +25,8 @@ EnvironmentFile=-/run/sysconfig/nfs-util
5fd2c0
 Type=oneshot
5fd2c0
 RemainAfterExit=yes
5fd2c0
 ExecStartPre=-/usr/sbin/exportfs -r
5fd2c0
-ExecStartPre=-/bin/sh -c '/bin/kill -HUP `cat /run/gssproxy.pid`'
5fd2c0
 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS
3a6d19
+ExecStartPost=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi'
5fd2c0
 ExecStop=/usr/sbin/rpc.nfsd 0
5fd2c0
 ExecStopPost=/usr/sbin/exportfs -au
5fd2c0
 ExecStopPost=/usr/sbin/exportfs -f