nfs-utils-server: use exportfs after start/stop in nfsd.service.
This commit is contained in:
parent
6a97b773ea
commit
41bad8dde1
2 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ Requires=rpcbind.service
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/rpc.nfsd
|
||||
ExecStartPost=/usr/sbin/exportfs -a
|
||||
ExecStop=/usr/sbin/rpc.nfsd 0
|
||||
ExecStopPost=/usr/sbin/exportfs -a -u
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nfs-utils'
|
||||
pkgname=nfs-utils
|
||||
version=1.2.6
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
||||
|
|
Loading…
Reference in a new issue