diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2006-09-26 02:02:13 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2006-09-26 02:02:13 +0000 |
commit | c13775584d73266eb919256541a6ca1cd7cbbace (patch) | |
tree | f1310e93c5bdf4f1fb238ba831ae11b806474777 /www | |
parent | Add p5-HTML-RSSAutodiscovery 1.21, methods for retreiving RSS-ish (diff) |
Support "reload" in the rc script.
Submitted by: nork
Notes
Notes:
svn path=/head/; revision=173850
Diffstat (limited to 'www')
-rw-r--r-- | www/wwwoffle/Makefile | 1 | ||||
-rw-r--r-- | www/wwwoffle/files/wwwoffled.sh.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 084c2fdc7347..b23ba4ff59be 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -7,6 +7,7 @@ PORTNAME= wwwoffle PORTVERSION= 2.9a +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://www.gedanken.freeserve.co.uk/download-wwwoffle/ EXTRACT_SUFX= .tgz diff --git a/www/wwwoffle/files/wwwoffled.sh.in b/www/wwwoffle/files/wwwoffled.sh.in index 18a3d97791c9..2d1fc3ae63b0 100644 --- a/www/wwwoffle/files/wwwoffled.sh.in +++ b/www/wwwoffle/files/wwwoffled.sh.in @@ -23,6 +23,7 @@ wwwoffled_conffile="%%PREFIX%%/etc/wwwoffle.conf" name="wwwoffled" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/wwwoffled" +extra_commands="reload" load_rc_config $name @@ -30,5 +31,6 @@ pidfile="${wwwoffled_pidfile}" 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" |