aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postgrey
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-18 08:14:21 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-18 08:14:21 +0800
commit602b1982a571b8d0cc15af6bdc1037adf2957e28 (patch)
tree03b798b18b7b33ae9e375e076bd1f490b86b1321 /mail/postgrey
parentdb91be71a15fdf8ad25eba0506a08fe9a416108a (diff)
downloadfreebsd-ports-gnome-602b1982a571b8d0cc15af6bdc1037adf2957e28.tar.gz
freebsd-ports-gnome-602b1982a571b8d0cc15af6bdc1037adf2957e28.tar.zst
freebsd-ports-gnome-602b1982a571b8d0cc15af6bdc1037adf2957e28.zip
- Fix the rc.d script
PR: ports/139046 Submitted by: James E Risner <risner@mail.bullard.de> Approved by: maintainer timeout
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/Makefile1
-rw-r--r--mail/postgrey/files/postgrey.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index d1327325819a..1cb211fca6d1 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postgrey
PORTVERSION= 1.32
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ LOCAL/beech
diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in
index c64a58ce8095..7e9f56879953 100644
--- a/mail/postgrey/files/postgrey.in
+++ b/mail/postgrey/files/postgrey.in
@@ -33,6 +33,8 @@ stop_postcmd()
# set defaults
+load_rc_config $name
+
postgrey_enable=${postgrey_enable:-"NO"}
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
@@ -40,5 +42,4 @@ postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
pidfile="${postgrey_pidfile}"
-load_rc_config $name
run_rc_command "$1"