From 4537fee41a34e58911c0f017668cc1cc36908c7e Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Thu, 13 May 2004 02:59:45 +0000 Subject: [PATCH] o Add to remove pid file as stop_postcmd. o Bump PORTREVISION accordingly. Approved by: sumikawa (maintainer) --- www/wwwoffle/Makefile | 2 +- www/wwwoffle/files/wwwoffled.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 1c68c31704ef..ab5be1df3833 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -7,7 +7,7 @@ PORTNAME= wwwoffle PORTVERSION= 2.8b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www ipv6 MASTER_SITES= http://www.gedanken.freeserve.co.uk/download-wwwoffle/ EXTRACT_SUFX= .tgz diff --git a/www/wwwoffle/files/wwwoffled.sh b/www/wwwoffle/files/wwwoffled.sh index 7fb48f567080..83e5061d06f1 100644 --- a/www/wwwoffle/files/wwwoffled.sh +++ b/www/wwwoffle/files/wwwoffled.sh @@ -29,5 +29,6 @@ load_rc_config $name pidfile="${wwwoffled_pidfile}" command_args="-p > ${pidfile} 2> /dev/null" required_files="${wwwoffled_conffile}" +stop_postcmd="/bin/rm -f ${pidfile}" run_rc_command "$1"