Skip to content

Commit

Permalink
Update process.sh
Browse files Browse the repository at this point in the history
fixed osixia#18 when "docker kill keepalived",  file "/var/run/keepalived.pid" still existed, so the container cannot start.
  • Loading branch information
10liuguang01 authored Oct 18, 2018
1 parent 5839771 commit de5ac71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image/service/keepalived/process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ do
done
echo "ok"

rm -f /var/run/keepalived.pid
exec /usr/local/sbin/keepalived -f /usr/local/etc/keepalived/keepalived.conf --dont-fork --log-console ${KEEPALIVED_COMMAND_LINE_ARGUMENTS}

0 comments on commit de5ac71

Please sign in to comment.