aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy/haproxy.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/haproxy/haproxy.initd')
-rw-r--r--main/haproxy/haproxy.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/haproxy/haproxy.initd b/main/haproxy/haproxy.initd
index 7855afa043..3d48ab96eb 100644
--- a/main/haproxy/haproxy.initd
+++ b/main/haproxy/haproxy.initd
@@ -7,7 +7,7 @@ extra_commands="checkconfig"
extra_started_commands="reload"
command=/usr/sbin/haproxy
-CONFFILE=/etc/${SVCNAME}.cfg
+CONFFILE=${HAPROXY_CONF:-/etc/${SVCNAME}.cfg}
PIDFILE=/var/run/${SVCNAME}.pid
depend() {