Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 22:05:21 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        sumikawa@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   [www/wwwoffle] add support rcNG reload
Message-ID:  <20060923220521.7c79b6b7.nork@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi sumikawa!

	I make a patch to reload configuration by rcNG script.
	Please review and commit or may I commit this OK?

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile	6 Jul 2006 17:41:23 -0000	1.48
+++ Makefile	23 Sep 2006 13:02:20 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	wwwoffle
 PORTVERSION=	2.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.gedanken.freeserve.co.uk/download-wwwoffle/
 EXTRACT_SUFX=	.tgz
Index: files/wwwoffled.sh.in
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/files/wwwoffled.sh.in,v
retrieving revision 1.2
diff -u -r1.2 wwwoffled.sh.in
--- files/wwwoffled.sh.in	20 Feb 2006 20:47:50 -0000	1.2
+++ files/wwwoffled.sh.in	23 Sep 2006 13:02:06 -0000
@@ -23,6 +23,7 @@
 name="wwwoffled"
 rcvar=`set_rcvar`
 command="%%PREFIX%%/sbin/wwwoffled"
+extra_commands="reload"
 
 load_rc_config $name
 
@@ -30,5 +31,6 @@
 command_args="-p > ${pidfile} 2> /dev/null"
 required_files="${wwwoffled_conffile}"
 stop_postcmd="/bin/rm -f ${pidfile}"
+reload_cmd="%%PREFIX%%/bin/wwwoffle -config"
 
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060923220521.7c79b6b7.nork>