www/wwwoffle's wwwoffled.sh

Norikatsu Shigemura nork at FreeBSD.org
Wed May 12 10:24:49 PDT 2004


Hi Sumikawa!

	I noticed a message on boot like following message.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Starting wwwoffled.
wwwoffled already running? (pid=632).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	So I fixed this warning message.  Please review & commit
	following patch.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile	5 May 2004 10:04:01 -0000	1.38
+++ Makefile	12 May 2004 16:39:20 -0000
@@ -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
Index: files/wwwoffled.sh
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/files/wwwoffled.sh,v
retrieving revision 1.4
diff -u -r1.4 wwwoffled.sh
--- files/wwwoffled.sh	4 May 2004 10:44:05 -0000	1.4
+++ files/wwwoffled.sh	12 May 2004 16:36:13 -0000
@@ -29,5 +29,6 @@
 pidfile="${wwwoffled_pidfile}"
 command_args="-p > ${pidfile} 2> /dev/null"
 required_files="${wwwoffled_conffile}"
+stop_postcmd="/bin/rm -f ${pidfile}"
 
 run_rc_command "$1"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


More information about the freebsd-ports mailing list