Accepting request 335648 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/335648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=125
This commit is contained in:
Stephan Kulow 2015-10-12 08:00:33 +00:00 committed by Git OBS Bridge
commit c4af0a6187
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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