summaryrefslogtreecommitdiff
blob: 163af5a4b4a14a2e56b9b1b8b43c4f8f767fc82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/openrc-run
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
        need net rpcbind
}

start() {
        ebegin "Starting NFS statd"
        start-stop-daemon --start --quiet --exec \
                /usr/sbin/rpc.statd -- $rpcstatdopts
        eend $? "Error starting NFS statd"
}

stop() {
        ebegin "Stopping NFS statd"
        start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.statd
        eend $? "Error stopping NFS statd"
}