aboutsummaryrefslogtreecommitdiffstats
path: root/testing/haproxy/haproxy.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/haproxy/haproxy.initd')
-rw-r--r--testing/haproxy/haproxy.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/haproxy/haproxy.initd b/testing/haproxy/haproxy.initd
index 82a1067591..68b7e0fefb 100644
--- a/testing/haproxy/haproxy.initd
+++ b/testing/haproxy/haproxy.initd
@@ -13,7 +13,7 @@ checkconfig() {
eerror "${CONFFILE} does not exist!"
return 1
fi
- /usr/bin/haproxy -c -f "${CONFFILE}" >/dev/null
+ /usr/sbin/haproxy -c -f "${CONFFILE}" >/dev/null
}
depend() {
@@ -27,7 +27,7 @@ start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --quiet \
- --exec /usr/bin/haproxy \
+ --exec /usr/sbin/haproxy \
-- -D -p "${PIDFILE}" -f "${CONFFILE}"
eend ${?}
}
@@ -40,6 +40,6 @@ stop() {
reload() {
ebegin "Reloading ${SVCNAME}"
- /usr/bin/haproxy -D -p "${PIDFILE}" -f "${CONFFILE}" -sf $(cat "${PIDFILE}")
+ /usr/sbin/haproxy -D -p "${PIDFILE}" -f "${CONFFILE}" -sf $(cat "${PIDFILE}")
eend ${?}
}