summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorshattered <shattered>2011-02-16 19:37:49 +0000
committershattered <shattered>2011-02-16 19:37:49 +0000
commit9e9fd4eb6332417154195476d8098142674d47f5 (patch)
treeaf372205e4e364403ac7ae64679875c5d112eb1a /mail
parent009cc237dcbdba302bc6b4c2b878b3fca17d2b6a (diff)
downloadpkgsrc-9e9fd4eb6332417154195476d8098142674d47f5.tar.gz
PR/34742 -- support "reload" command, remove pidfile after stopping
Diffstat (limited to 'mail')
-rw-r--r--mail/postgrey/Makefile4
-rw-r--r--mail/postgrey/files/postgrey.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 6fdf11defbe..fd1609d9fa8 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2010/09/16 08:06:16 adam Exp $
+# $NetBSD: Makefile,v 1.28 2011/02/16 19:37:49 shattered Exp $
DISTNAME= postgrey-1.33
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/
diff --git a/mail/postgrey/files/postgrey.sh b/mail/postgrey/files/postgrey.sh
index a0c78ae341c..36266c91f70 100644
--- a/mail/postgrey/files/postgrey.sh
+++ b/mail/postgrey/files/postgrey.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: postgrey.sh,v 1.1.1.1 2004/12/22 15:51:38 kim Exp $
+# $NetBSD: postgrey.sh,v 1.2 2011/02/16 19:37:50 shattered Exp $
#
# PROVIDE: postgrey
@@ -20,6 +20,8 @@ required_files="
@PKG_SYSCONFDIR@/postgrey_whitelist_recipients
"
@PKGBASE@_flags=${@PKGBASE@_flags-"-i 2525"}
+extra_commands="reload"
+stop_postcmd='rm -f $pidfile'
load_rc_config $name
run_rc_command "$1"