diff --git a/srcpkgs/nfs-utils/files/nfsd.service b/srcpkgs/nfs-utils/files/nfsd.service index 27dd7f1b601..0b15adf217a 100644 --- a/srcpkgs/nfs-utils/files/nfsd.service +++ b/srcpkgs/nfs-utils/files/nfsd.service @@ -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] diff --git a/srcpkgs/nfs-utils/template b/srcpkgs/nfs-utils/template index 55d0d5420a3..32ff7b764ed 100644 --- a/srcpkgs/nfs-utils/template +++ b/srcpkgs/nfs-utils/template @@ -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