forked from pool/nfs-utils
- 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/package/show/Base:System/nfs-utils?expand=0&rev=137
This commit is contained in:
parent
35ecbc8e59
commit
31e1bc463e
@ -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