openrc/init.d/rpcbind.in
Roy Marples e70a142956 Style.
2009-04-27 07:51:18 +00:00

22 lines
408 B
Plaintext

#!@PREFIX@/sbin/runscript
# Copyright 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/rpcbind
command_args=$rpcbind_args
name="RPC program number mapper"
depend()
{
provide rpc
need localmount
use net logger dns
before inetd xinetd ntpd ntp-client
}
stop_post()
{
# rpcbind returns too fast, so sleep for a second
sleep 1
}