diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-05-29 22:23:11 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-05-29 22:23:11 +0800 |
commit | e4f99904cc1ddf55ae8a7d9ac93395aa4ee06a10 (patch) | |
tree | d114bf12cf7aa9ea378d06419afbce531085dd60 /net-mgmt/xymon-client | |
parent | 07323adc3b43e492162be72b93e005daf2fdfe13 (diff) | |
download | freebsd-ports-gnome-e4f99904cc1ddf55ae8a7d9ac93395aa4ee06a10.tar.gz freebsd-ports-gnome-e4f99904cc1ddf55ae8a7d9ac93395aa4ee06a10.tar.zst freebsd-ports-gnome-e4f99904cc1ddf55ae8a7d9ac93395aa4ee06a10.zip |
- pass flags to startup script
PR: 124066
Submitted by: falz <me@falz.net>
Diffstat (limited to 'net-mgmt/xymon-client')
-rw-r--r-- | net-mgmt/xymon-client/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/xymon-client/files/hobbit-client.sh.in | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile index 6c0009b83d60..1a071dbb82c0 100644 --- a/net-mgmt/xymon-client/Makefile +++ b/net-mgmt/xymon-client/Makefile @@ -7,7 +7,7 @@ PORTNAME= hobbit PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon diff --git a/net-mgmt/xymon-client/files/hobbit-client.sh.in b/net-mgmt/xymon-client/files/hobbit-client.sh.in index 38c480c247e7..865eecc168cc 100644 --- a/net-mgmt/xymon-client/files/hobbit-client.sh.in +++ b/net-mgmt/xymon-client/files/hobbit-client.sh.in @@ -13,12 +13,13 @@ rcvar=`set_rcvar` load_rc_config "$name" : ${hobbit_client_enable:="NO"} +: ${hobbit_client_flags:=""} command="%%PREFIX%%/www/hobbit/client/runclient.sh" -start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start" -stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop" -status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status" -reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart" +start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start" +stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} stop" +status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} status" +reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} restart" pidfile="%%PREFIX%%/www/hobbit/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" |