Fix configuration string for haproxy

Use user and group configuration option, uid and gid need a number
instead of a name. Specifying a name for uid/gid attributes will make
haproxy run under the root user.

Change-Id: I1d6db661b7d0958e1ba888770e3ce789d7cb4a76
This commit is contained in:
Marc Gariepy 2016-04-11 10:08:43 -04:00
parent 6ff23113bd
commit a2c1d8ca2c

View File

@ -4,8 +4,8 @@ global
log 127.0.0.1 local0 log 127.0.0.1 local0
log 127.0.0.1 local1 notice log 127.0.0.1 local1 notice
chroot /var/lib/haproxy chroot /var/lib/haproxy
uid haproxy user haproxy
gid haproxy group haproxy
daemon daemon
maxconn 4096 maxconn 4096
tune.bufsize 384000 tune.bufsize 384000