diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2006-09-26 10:02:13 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2006-09-26 10:02:13 +0800 |
commit | 8c2f429c058479ad31f042c270560f013a626d50 (patch) | |
tree | a50941bb01df3d3e8d86da0e15080a67e1faea0c /www/wwwoffle | |
parent | c1df4f1d61e3a9c98b0b2e0d7b7f370305f2f07a (diff) | |
download | freebsd-ports-gnome-8c2f429c058479ad31f042c270560f013a626d50.tar.gz freebsd-ports-gnome-8c2f429c058479ad31f042c270560f013a626d50.tar.zst freebsd-ports-gnome-8c2f429c058479ad31f042c270560f013a626d50.zip |
Support "reload" in the rc script.
Submitted by: nork
Diffstat (limited to 'www/wwwoffle')
-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" |