aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-09-30 08:06:20 +0800
committerzi <zi@FreeBSD.org>2011-09-30 08:06:20 +0800
commit1da25312e36c96f81dd9247e792a19225e289992 (patch)
tree87d919c7441a9619363854d4c3ca31e33e67fd7b /net-mgmt
parent146007157077610b13b2d21a764a61aca91bcad3 (diff)
downloadfreebsd-ports-gnome-1da25312e36c96f81dd9247e792a19225e289992.tar.gz
freebsd-ports-gnome-1da25312e36c96f81dd9247e792a19225e289992.tar.zst
freebsd-ports-gnome-1da25312e36c96f81dd9247e792a19225e289992.zip
- Add configtest command to rc script
PR: ports/161111 Submitted by: Emil Smolenski <am@raisa.eu.org> Approved by: Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios/files/nagios.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/nagios/files/nagios.in b/net-mgmt/nagios/files/nagios.in
index e4d535ad3180..9559ea4a125b 100644
--- a/net-mgmt/nagios/files/nagios.in
+++ b/net-mgmt/nagios/files/nagios.in
@@ -24,7 +24,7 @@ rcvar=`set_rcvar`
command="%%PREFIX%%/bin/nagios"
command_args="-d"
-extra_commands="reload"
+extra_commands="reload configtest"
pidfile="%%NAGIOSDIR%%/nagios.lock"
nagios_user="%%NAGIOSUSER%%"
@@ -32,6 +32,7 @@ start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
restart_precmd="nagios_checkconfig"
reload_precmd="reload_precmd"
+configtest_cmd="nagios_checkconfig"
sig_reload=HUP
load_rc_config "${name}"