diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
commit | 83eb2c37009874672764765ec3bf3b59286c7391 (patch) | |
tree | a956ace1a4a1e10876d4c36f12af02bc9df6cb29 /sysutils/ganglia-monitor-core | |
parent | 3c1484f2613137d7eaba8577f6d580c5532ac912 (diff) |
Notes
Diffstat (limited to 'sysutils/ganglia-monitor-core')
-rw-r--r-- | sysutils/ganglia-monitor-core/files/gmetad.sh.in | 2 | ||||
-rw-r--r-- | sysutils/ganglia-monitor-core/files/gmond.sh.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/ganglia-monitor-core/files/gmetad.sh.in b/sysutils/ganglia-monitor-core/files/gmetad.sh.in index 28175f19298f..77f42fc6bfb2 100644 --- a/sysutils/ganglia-monitor-core/files/gmetad.sh.in +++ b/sysutils/ganglia-monitor-core/files/gmetad.sh.in @@ -8,7 +8,7 @@ . /etc/rc.subr name=gmetad -rcvar=`set_rcvar` +rcvar=gmetad_enable command="%%PREFIX%%/sbin/${name}" start_precmd="gmetad_prestart" stop_postcmd="gmetad_poststop" diff --git a/sysutils/ganglia-monitor-core/files/gmond.sh.in b/sysutils/ganglia-monitor-core/files/gmond.sh.in index 95e78ddefa65..a8f6dbe139de 100644 --- a/sysutils/ganglia-monitor-core/files/gmond.sh.in +++ b/sysutils/ganglia-monitor-core/files/gmond.sh.in @@ -10,7 +10,8 @@ bname=`basename $0` . /etc/rc.subr name=`echo "${bname}" | tr ".-" "__"` -rcvar=`set_rcvar` +rcvar=${name}_enable + command="%%PREFIX%%/sbin/gmond" load_rc_config ganglia |