forked from Lainports/freebsd-ports
- Proper handle startup script
PR: ports/66058 Submitted by: maintainer
This commit is contained in:
parent
6f8804cd13
commit
75841dac1c
2 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= rbldnsd
|
||||
PORTVERSION= 0.992
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/:0 \
|
||||
http://www.it.ca/~paul/src/:0
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ rcvar=`set_rcvar`
|
|||
command=%%PREFIX%%/sbin/rbldnsd
|
||||
pidfile=/var/run/rbldnsd.pid
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
stop_postcmd=stop_postcmd
|
||||
|
||||
stop_postcmd()
|
||||
|
|
@ -36,6 +38,5 @@ rbldnsd_enable=${rbldnsd_enable:-"NO"}
|
|||
rbldnsd_flags=${rbldnsd_flags:-"-r /usr/local/etc/rbldnsd -b 127.0.0.1 bl.example.com:ip4set:example"}
|
||||
rbldnsd_flags="${rbldnsd_flags% *} -p $pidfile ${rbldnsd_flags##* }"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue