Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/images/loadbalancer/haproxy_reload
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
# -s soft reload, wait for pids to finish handling requests
# -f send pids a resume signal if reload of new config fails

socat /tmp/haproxy - <<< "show servers state" > /var/state/haproxy/global
echo "show servers state" | socat /tmp/haproxy - > /var/state/haproxy/global

haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -D -sf $(cat /var/run/haproxy.pid)