Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Consider using haproxy 1.8 to transfer unix socket betweeen haproxy-a & b #1

@hihellobolke

Description

@hihellobolke

Hi,

Per https://www.haproxy.com/blog/truly-seamless-reloads-with-haproxy-no-more-hacks/

Haproxy 1.8's socket transfer mechanism would provide seamless reload, basically both haproxy-a/b would share the socket file.

exec haproxy -f /usr/local/etc/haproxy/haproxy.cfg -sf $(s6-svstat /var/run/s6/services/haproxy-b | egrep -o "pid \d+" | egrep -o "\d+") -x /var/run/haproxy.sock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions