diff options
author | stefan <stefan@FreeBSD.org> | 2009-01-28 19:58:14 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2009-01-28 19:58:14 +0800 |
commit | 99b5f2c742b872359f50685234cd06be61b09aee (patch) | |
tree | 3f222c47ab6932867dedd7c3451b27d10fb7abab /sysutils | |
parent | 22c8df7484fa445e40952e76eb3efcc0e5c95323 (diff) | |
download | freebsd-ports-gnome-99b5f2c742b872359f50685234cd06be61b09aee.tar.gz freebsd-ports-gnome-99b5f2c742b872359f50685234cd06be61b09aee.tar.zst freebsd-ports-gnome-99b5f2c742b872359f50685234cd06be61b09aee.zip |
Fix stopping the daemon via rc script by properly setting $pidfile and
$command_interpreter.
PR: 127444
Submitted by: Tyler Aviss <a-freebsd@phormix.com>
Patch by: stefan
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nagios-statd/Makefile | 1 | ||||
-rw-r--r-- | sysutils/nagios-statd/files/nagiosstatd.sh.in | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/nagios-statd/Makefile b/sysutils/nagios-statd/Makefile index e6db8ff5d8cd..0c8dd3b55b5a 100644 --- a/sysutils/nagios-statd/Makefile +++ b/sysutils/nagios-statd/Makefile @@ -7,6 +7,7 @@ PORTNAME= nagios-statd PORTVERSION= 3.12 +PORTREVISION= 1 CATEGORIES= sysutils python net-mgmt MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/ diff --git a/sysutils/nagios-statd/files/nagiosstatd.sh.in b/sysutils/nagios-statd/files/nagiosstatd.sh.in index 2b89da7b2621..228caeaa4df7 100644 --- a/sysutils/nagios-statd/files/nagiosstatd.sh.in +++ b/sysutils/nagios-statd/files/nagiosstatd.sh.in @@ -22,10 +22,12 @@ name="nagiosstatd" #rcvar=`set_rcvar` rcvar=${name}_enable -pidfile="${nagiosstatd_file}" +pidfile="${nagiosstatd_pidfile}" command=%%PREFIX%%/sbin/nagios-statd +command_args="-P ${nagiosstatd_pidfile}" +command_interpreter="python" load_rc_config $name |