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
commitda86f61b8a4029c193b70455676356eb0f7c3c35 (patch)
treeaf372205e4e364403ac7ae64679875c5d112eb1a /mail
parent27ad5ad5770a911fb1dd892bab5372d2d1b5cf99 (diff)
downloadpkgsrc-da86f61b8a4029c193b70455676356eb0f7c3c35.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"