aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/nagios-statd/Makefile1
-rw-r--r--sysutils/nagios-statd/files/nagiosstatd.sh.in4
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