osixia / docker-keepalived

Keepalived container image 🐳🌴
MIT License
395 stars 143 forks source link

Update process.sh #25

Closed 10liuguang01 closed 4 years ago

10liuguang01 commented 5 years ago

fixed #18 when "docker kill keepalived", file "/var/run/keepalived.pid" still existed, so the container cannot start.

BertrandGouny commented 5 years ago

Hello, thanks for the pull request. This would fit better in startup.sh script. Something like

rm -f /var/run/keepalived.pid || true 

so the script don't fail if the paid file doesn't exist

BertrandGouny commented 4 years ago

closed by #39