blob: 805d416f809d051bcc9e610560538744b41eb6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/openrc-run
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
name="NFS statd"
command="/sbin/rpc.statd"
command_args="$OPTS_RPC_STATD"
pidfile="/run/rpc.statd.pid"
depend() {
use ypbind net
need portmap
after quota
}
start() {
# Don't start rpc.statd if already started by someone else...
killall -q -0 "$command" && return 0
default_start
}
|