aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy/haproxy.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-24 09:35:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-16 12:50:06 +0000
commitef4d70929c7b687a7b974e9ae438f6b8a164f16f (patch)
tree6041f94bf7a848bc2f26bf98f021ecf3456cab55 /main/haproxy/haproxy.initd
parent4bbb93d659452066ebe032015d4ccdbbc9f57abb (diff)
downloadaports-ef4d70929c7b687a7b974e9ae438f6b8a164f16f.tar.bz2
aports-ef4d70929c7b687a7b974e9ae438f6b8a164f16f.tar.xz
main/haproxy: move default config location
- move default config location to /etc/haproxy/ - provide install/upgrade script that moves existing config to new location - provide dummy config - create haproxy user and group
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 3d48ab96eb..fb1d70ed81 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=${HAPROXY_CONF:-/etc/${SVCNAME}.cfg}
+CONFFILE=${HAPROXY_CONF:-/etc/haproxy/${SVCNAME}.cfg}
PIDFILE=/var/run/${SVCNAME}.pid
depend() {