diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-01-22 18:35:36 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-22 15:14:21 -0600 |
commit | ca7457196d326dadd5a2e537fac83a6f3cb88c7c (patch) | |
tree | 8a0d64428a2ddbe794f0c1585b553350ff6c2cc0 /testing/haproxy/haproxy.initd | |
parent | 890fdcbbe55ee0b070dac40f13ae2aa0ce77a0d7 (diff) | |
download | aports-ca7457196d326dadd5a2e537fac83a6f3cb88c7c.tar.bz2 aports-ca7457196d326dadd5a2e537fac83a6f3cb88c7c.tar.xz |
testing/haproxy: update to 1.4.10
update to 1.4.10
Diffstat (limited to 'testing/haproxy/haproxy.initd')
-rw-r--r-- | testing/haproxy/haproxy.initd | 6 |
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 ${?} } |