diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-29 08:18:23 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-29 08:18:23 +0000 |
commit | 75841dac1c2d3ea422ac514b4e13d856f443fd5a (patch) | |
tree | 75b0bb540c995ab168fc09c22623c5b844fa038c /dns/rbldnsd | |
parent | 6f8804cd13c76f70a8d77bc7c57930ce450bfdc5 (diff) | |
download | ports-75841dac1c2d3ea422ac514b4e13d856f443fd5a.tar.gz ports-75841dac1c2d3ea422ac514b4e13d856f443fd5a.zip |
- Proper handle startup script
PR: ports/66058
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=107940
Diffstat (limited to 'dns/rbldnsd')
-rw-r--r-- | dns/rbldnsd/Makefile | 1 | ||||
-rw-r--r-- | dns/rbldnsd/files/rbldnsd.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile index aa6bc5a620e1..8a0d6da547b8 100644 --- a/dns/rbldnsd/Makefile +++ b/dns/rbldnsd/Makefile @@ -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 diff --git a/dns/rbldnsd/files/rbldnsd.sh b/dns/rbldnsd/files/rbldnsd.sh index 593adaa299f8..4c8a8c592cca 100644 --- a/dns/rbldnsd/files/rbldnsd.sh +++ b/dns/rbldnsd/files/rbldnsd.sh @@ -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" |