From ab84524d86c1fabefe7f36d2ad02f5c5749926f0 Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Fri, 12 Oct 2012 14:01:04 +0000 Subject: Use 'configtest' command to test config file to be consistent with apache, nagios and others. Do not invent yet another wheel. Feature safe: yes --- net/haproxy-devel/files/haproxy.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/haproxy-devel/files') diff --git a/net/haproxy-devel/files/haproxy.in b/net/haproxy-devel/files/haproxy.in index 2076db94911e..823eb10109e5 100644 --- a/net/haproxy-devel/files/haproxy.in +++ b/net/haproxy-devel/files/haproxy.in @@ -30,7 +30,7 @@ # reload - hot-reconfig using "-sf" option (active sessions kept) # forcereload - hot-reconfig using "-st" option (active sessions killed) # restart - equiv to "stop" then "start" -# checkconfig - checks configuration file defined in haproxy_config +# configtest - checks configuration file defined in haproxy_config # ####### @@ -51,10 +51,10 @@ load_rc_config $name pidfile=${haproxy_pidfile} required_files=${haproxy_config} -# Commands: start, stop, restart, reload, checkconfig -extra_commands="reload checkconfig" +# Commands: start, stop, restart, reload, configtest +extra_commands="reload configtest" -checkconfig_cmd="haproxy_checkconfig" +configtest_cmd="haproxy_checkconfig" reload_cmd="haproxy_reload" haproxy_reload() -- cgit v1.2.3