Skip to content

Commit

Permalink
Issue #86 wait for termination in haproxy-keepalived
Browse files Browse the repository at this point in the history
  • Loading branch information
instantlinux committed Aug 22, 2023
1 parent 1e7721c commit b623108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/haproxy-keepalived/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function graceful_stop() {
echo "Received SIGTERM"
kill -SIGTERM $(cat /run/keepalived/*.pid)
exit 0
sleep 1; exit 0
}

if [ -s /run/secrets/$STATS_SECRET ]; then
Expand Down

0 comments on commit b623108

Please sign in to comment.