diff options
author | Mark Felder <feld@FreeBSD.org> | 2015-02-05 22:23:00 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2015-02-05 22:23:00 +0000 |
commit | 237dabc340a6af308e42a5d021387b73841d2100 (patch) | |
tree | 9c987fb25f41e649c90ce02e5a6a4b79ce707c02 /net-mgmt | |
parent | 3eda69e87ae6a8ff0c6add13e2d71eed1845aad1 (diff) | |
download | ports-237dabc340a6af308e42a5d021387b73841d2100.tar.gz ports-237dabc340a6af308e42a5d021387b73841d2100.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/xymon-client/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/xymon-client/files/xymon-client.in | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile index 756ab23af64c..7b3eab21cc3a 100644 --- a/net-mgmt/xymon-client/Makefile +++ b/net-mgmt/xymon-client/Makefile @@ -2,7 +2,7 @@ PORTNAME= xymon PORTVERSION= 4.3.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= SF/xymon/Xymon/${PORTVERSION} PKGNAMESUFFIX= -client${PKGNAMESUFFIX2} @@ -16,6 +16,8 @@ LICENSE= GPLv2 USERS= xymon GROUPS= xymon +SUB_LIST+= USERS="${USERS}" + # Options XYMONUSER?= xymon XYMONHOSTIP?= 127.0.0.1 diff --git a/net-mgmt/xymon-client/files/xymon-client.in b/net-mgmt/xymon-client/files/xymon-client.in index a186bd5dface..2b9f4f6cf9b5 100644 --- a/net-mgmt/xymon-client/files/xymon-client.in +++ b/net-mgmt/xymon-client/files/xymon-client.in @@ -14,12 +14,11 @@ rcvar=xymon_client_enable load_rc_config "$name" : ${xymon_client_enable:=NO} +: ${xymon_client_user:=%%USERS%%} -command="%%PREFIX%%/www/xymon/client/runclient.sh" -start_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} start" -stop_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} stop" -status_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} status" -reload_cmd="%%PREFIX%%/www/xymon/client/runclient.sh ${xymon_client_flags} restart" -pidfile="%%PREFIX%%/www/xymon/client/logs/clientlaunch.`hostname`.pid" +command=/usr/local/www/xymon/client/runclient.sh +command_args="${xymon_client_flags} ${1}" +procname=/usr/local/www/xymon/client/bin/xymonlaunch +pidfile="/usr/local/www/xymon/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" |