I'm trying to get -sf to work. I'm running 1.2.18. I'm starting with a blank host that has haproxy installed, but has never run it. My procedure is:
This haproxy blocks my shell as expected. I've verified that it's up and balancing incoming connections. At this point though, /ita/ services/staging-haproxy/haproxy.pids is blank, which I don't think should be the case. At this point I try running the same command in another shell, and it fails.
3) haproxy -f /ita/installs/boombox-ops/config/apps/haproxy/stg- bbx5lb.haproxy -p /ita/services/staging-haproxy/haproxy.pids -sf $ (cat /ita/services/staging-haproxy/haproxy.pids)
What am I doing wrong here? The doc says that -p is relevant to daemon mode. Do I have to force daemon mode to take advantage of this functionality? If so, my process management scripts needs a pid file with the single pid of the parent process. Is there an option for that I'm not seeing, or does the -p pid file contain the parent as the first entry in daemon mode?
Any help would be greatly appreciated.
-Matt Received on 2009/01/23 18:15
This archive was generated by hypermail 2.2.0 : 2009/01/23 18:30 CET