aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
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}"