nfs-utils: remove useless systemd service, only register useful services by default.
This commit is contained in:
parent
09df9eee65
commit
f1df0669eb
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Export filesystems over NFS
|
|
||||||
After=nfsd.service
|
|
||||||
Requires=nfsd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/exportfs -ar
|
|
||||||
ExecStop=/usr/sbin/exportfs -au
|
|
||||||
ExecReload=/usr/sbin/exportfs -ar
|
|
||||||
RemainAfterExit=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -8,12 +8,8 @@ long_desc="
|
|||||||
depends="rpcbind"
|
depends="rpcbind"
|
||||||
replaces="nfs-utils<1.2.6_2"
|
replaces="nfs-utils<1.2.6_2"
|
||||||
conf_files="/etc/exports"
|
conf_files="/etc/exports"
|
||||||
systemd_services="
|
mutable_files="/var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/xtab"
|
||||||
exportfs.service on
|
systemd_services="nfsd.service on rpc-mountd.service on"
|
||||||
nfsd.service on
|
|
||||||
rpc-mountd.service on
|
|
||||||
rpc-svcgssd.service on
|
|
||||||
blkmapd.service on"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove etc/exports etc
|
vmove etc/exports etc
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
# Template file for 'nfs-utils'
|
# Template file for 'nfs-utils'
|
||||||
pkgname=nfs-utils
|
pkgname=nfs-utils
|
||||||
version=1.2.6
|
version=1.2.6
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||||
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
||||||
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
||||||
conf_files="/etc/idmapd.conf"
|
conf_files="/etc/idmapd.conf"
|
||||||
depends="rpcbind"
|
depends="rpcbind"
|
||||||
|
systemd_services="rpc-idmapd.service on rpc-statd.service on"
|
||||||
subpackages="$pkgname-server"
|
subpackages="$pkgname-server"
|
||||||
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel
|
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel
|
||||||
librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel
|
librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel
|
||||||
@ -22,12 +23,6 @@ long_desc="
|
|||||||
The $pkgname package provides client utilities for the linux kernel
|
The $pkgname package provides client utilities for the linux kernel
|
||||||
implementation of NFS - Network File System."
|
implementation of NFS - Network File System."
|
||||||
|
|
||||||
# systemd services
|
|
||||||
systemd_services="
|
|
||||||
rpc-gssd.service on
|
|
||||||
rpc-idmapd.service on
|
|
||||||
rpc-statd.service on"
|
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
# Makefile doesn't seem to create it!
|
# Makefile doesn't seem to create it!
|
||||||
vmkdir sbin
|
vmkdir sbin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user