diff --git a/nfs-utils.changes b/nfs-utils.changes index af96b17..3e55e23 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 24 02:29:36 UTC 2015 - nfbrown@suse.com + +- nfsserver.service. Provide ExecReload directive. + This allows "systemctl reload nfsserver" to work. + PropagatesReloadTo but itself is not enough if this + unit doesn't have it's own Reload handler. + (bsc#97296) + ------------------------------------------------------------------- Thu Aug 13 02:36:16 UTC 2015 - nfbrown@suse.com diff --git a/nfsserver.service b/nfsserver.service index 67905fc..028cfdc 100644 --- a/nfsserver.service +++ b/nfsserver.service @@ -11,12 +11,15 @@ Description=Alias for NFS server # nfs-server.d/nfsserver.conf is part of this service. Requires= nfs-server.service -PropagatesReloadTo=nfs-server.service [Service] Type=oneshot ExecStart=/bin/true RemainAfterExit=yes +# Can't just PropagatesReloadTo to nfs-server.service +# as reload fails if we don't have our own ExecReload +# So copy that from nfs-server.service +ExecReload=/usr/sbin/exportfs -r [Install] WantedBy=multi-user.target