osixia / docker-keepalived

Keepalived container image 🐳🌴
MIT License
402 stars 146 forks source link

Reload configuration #38

Closed orenye closed 4 years ago

orenye commented 4 years ago

Hi,

Is there a way to reload the configuration without restating the container (the same as done in the not dockerized version with: systemctl reload keepalived).

Thanks

linkvt commented 4 years ago

Hi @orenye, you should be able to do this by sending the HUP signal to the process, many applications support this, see https://manpages.debian.org/testing/keepalived/keepalived.8.en.html#SIGNALS

kill -HUP $(cat /var/run/keepalived.pid)

@BertrandGouny ticket can be closed.

orenye commented 4 years ago

Thanks @linkvt, yes you are right. I figured it out back then but other priorities distracted me from this issue and I didn't check it.