From 6a983032dbc3603c1630705ab6328c3049bce407 Mon Sep 17 00:00:00 2001 From: shattered Date: Wed, 16 Feb 2011 19:37:49 +0000 Subject: PR/34742 -- support "reload" command, remove pidfile after stopping --- mail/postgrey/Makefile | 4 ++-- mail/postgrey/files/postgrey.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'mail/postgrey') 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" -- cgit v1.2.3