nfs-utils: remove leftover systemd support (#1736)
This commit is contained in:
parent
2b5f1a4f8b
commit
f056f95c31
10 changed files with 1 additions and 105 deletions
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFS block layout mapping daemon
|
||||
After=var-lib-nfs-rpc_pipefs.mount nfsd.service
|
||||
Requires=var-lib-nfs-rpc_pipefs.mount
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/blkmapd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,15 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFS server
|
||||
After=rpcbind.service
|
||||
Requires=rpcbind.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/rpc.nfsd
|
||||
ExecStartPost=/usr/bin/exportfs -a
|
||||
ExecStop=/usr/bin/rpc.nfsd 0
|
||||
ExecStopPost=/usr/bin/exportfs -a -u
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFS Daemon filesystem
|
||||
DefaultDependencies=no
|
||||
|
||||
[Mount]
|
||||
What=sunrpc
|
||||
Where=/proc/fs/nfsd
|
||||
Type=nfsd
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=RPC GSS-API client-side daemon
|
||||
After=rpcbind.service var-lib-nfs-rpc_pipefs.mount
|
||||
Requires=rpcbind.service var-lib-nfs-rpc_pipefs.mount
|
||||
Before=remote-fs-pre.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/rpc.gssd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFSv4 ID-name mapping daemon
|
||||
After=var-lib-nfs-rpc_pipefs.mount nfsd.service
|
||||
Requires=var-lib-nfs-rpc_pipefs.mount
|
||||
Before=remote-fs-pre.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/rpc.idmapd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFSv2/3 Mount Daemon
|
||||
After=rpcbind.service nfsd.service
|
||||
Requires=rpcbind.service nfsd.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/rpc.mountd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=NFSv2/3 Network Status Monitor Daemon
|
||||
After=rpcbind.service
|
||||
Requires=rpcbind.service
|
||||
Before=remote-fs-pre.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/rpc.statd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=RPC GSS-API server-side daemon
|
||||
After=rpcbind.service
|
||||
Requires=rpcbind.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/rpc.svcgssd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=RPC pipe filesystem
|
||||
|
||||
[Mount]
|
||||
What=rpc_pipefs
|
||||
Where=/var/lib/nfs/rpc_pipefs
|
||||
Type=rpc_pipefs
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nfs-utils'
|
||||
pkgname=nfs-utils
|
||||
version=1.3.2
|
||||
revision=3
|
||||
revision=4
|
||||
short_desc="Network File System utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
|
@ -49,11 +49,6 @@ do_install() {
|
|||
# runit services
|
||||
vsv statd
|
||||
vsv nfs-server
|
||||
# systemd glue
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vmkdir usr/lib/systemd/system
|
||||
install -m644 ${FILESDIR}/*.{service,mount} ${DESTDIR}/usr/lib/systemd/system
|
||||
fi
|
||||
|
||||
rm -rf ${DESTDIR}/var/lib/nfs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue