Giter Site home page Giter Site logo

Comments (5)

yosifkit avatar yosifkit commented on May 30, 2024 1

haproxy-systemd-wrapper functionality was integrated directly into haproxy with the -W option, so it should behave identically (ie SIGUSR2 will work just fine to tell it to reload config).

We have yet to wordsmith the "Reloading config" section of the docs to mention that 1.8 no longer uses the wrapper script. It is on the todo list, but not critical since it works the same way.

from haproxy.

lpfeup avatar lpfeup commented on May 30, 2024

Thank you for the clarification!

from haproxy.

flavioaiello avatar flavioaiello commented on May 30, 2024

Which reload type is recommended with 1.8? I made it this way after consulting the 1.8 instructions: https://github.com/flavioaiello/swarm-router
But I'm still not sure if the master-worker mode is the preferred way to do it...

from haproxy.

tianon avatar tianon commented on May 30, 2024

It's the same for both versions: SIGUSR2

Thanks for the prod -- I'm going to close this issue now since the original request is solved. 👍

For further help, I'd recommend trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

from haproxy.

flavioaiello avatar flavioaiello commented on May 30, 2024

SIGUSR2 works according to https://cbonte.github.io/haproxy-dconv/1.8/management.html only with the master-worker wrapper. The same can be accomplished by transferring sockets between processes (as done in the image above: -x, -p and -sf switches)

from haproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.