Hi, all, Haproxy sends the signals to pidlist with the -sf/-st option. However, since it does not check the haproxy's PID, it may kill other processes.
Reproducer is: ~]# sleep 1000 & sleep 1 ; haproxy -st $! -f /etc/haproxy/haproxy.cfg [1] 1909 [1]+ Terminated sleep 1000 In the -sf/-st option, I attach a patch to check whether the PID is haproxy or not. Best regards, MIZUTA Takeshi
0001-BUG-MINOR-haproxy-Add-a-check-whether-the-given-pid-.patch
Description: 0001-BUG-MINOR-haproxy-Add-a-check-whether-the-given-pid-.patch

