forked from pool/nfs-utils
Accepting request 321531 from Base:System
- nfs.service: improve back-compatibility with /etc/init.d/nfs + mount and unmount nfs filesystems on start/stop. + keep status as "good" when everything is running. (bnc#911986) OBS-URL: https://build.opensuse.org/request/show/321531 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=123
This commit is contained in:
commit
5551802674
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 04:28:42 UTC 2015 - nfbrown@suse.com
|
||||
|
||||
- nfs.service: improve back-compatibility with /etc/init.d/nfs
|
||||
+ mount and unmount nfs filesystems on start/stop.
|
||||
+ keep status as "good" when everything is running.
|
||||
(bnc#911986)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 19:34:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nfs-utils
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -15,7 +15,10 @@ PropagatesReloadTo=nfs-client.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/true
|
||||
ExecStartPost=/usr/bin/mount -at nfs,nfs4
|
||||
ExecStop=/usr/bin/umount -aft nfs,nfs4
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user