Re: HAproxy crash when reload with systemd

2014-07-23 Thread Apollon Oikonomopoulos
Hi Kevin, On 15:51 Wed 23 Jul , Kevin COUSIN wrote: > Here is the reload command in the systemd unit file: > ExecReload=/bin/bash -c "exec /usr/sbin/haproxy -D -f > /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf $MAINPID" This command will not work, because it will replace the already runni

HAproxy crash when reload with systemd

2014-07-23 Thread Kevin COUSIN
Hi, I use HAproxy on a CentOS 7, shipped with systemd. Whenever I want to reload it with "systemctl reload haproxy.service", HAproxy crash every time. I need to restart it with "systemctl start haproxy.service" Here is the reload command in the systemd unit file: ExecReload=/bin/bash -c "exec