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:
parent
6ff23113bd
commit
a2c1d8ca2c
@ -4,8 +4,8 @@ global
|
||||
log 127.0.0.1 local0
|
||||
log 127.0.0.1 local1 notice
|
||||
chroot /var/lib/haproxy
|
||||
uid haproxy
|
||||
gid haproxy
|
||||
user haproxy
|
||||
group haproxy
|
||||
daemon
|
||||
maxconn 4096
|
||||
tune.bufsize 384000
|
||||
|
Loading…
Reference in New Issue
Block a user