aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-29 16:18:23 +0800
committerkrion <krion@FreeBSD.org>2004-04-29 16:18:23 +0800
commit3937f30902a5fe96a766d9eb3f638e59a6bc3047 (patch)
tree5cb6ddf84d34845714d930a7d9f9056a17a7369c /dns
parent50e6625396c6e9c16158fd7bfce7c11314854d18 (diff)
downloadfreebsd-ports-gnome-3937f30902a5fe96a766d9eb3f638e59a6bc3047.tar.gz
freebsd-ports-gnome-3937f30902a5fe96a766d9eb3f638e59a6bc3047.tar.zst
freebsd-ports-gnome-3937f30902a5fe96a766d9eb3f638e59a6bc3047.zip
- Proper handle startup script
PR: ports/66058 Submitted by: maintainer
Diffstat (limited to 'dns')
-rw-r--r--dns/rbldnsd/Makefile1
-rw-r--r--dns/rbldnsd/files/rbldnsd.sh3
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"