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 running 
haproxy process and systemd does not really like this. You have to use 
the dedicated systemd wrapper shipped with haproxy instead.

There is also a sample systemd unit file in contrib/systemd in HAProxy's 
source that you can use as-is or as a reference.

Regards,
Apollon

Reply via email to