Skip to content

Commit

Permalink
Merge pull request #108 from tgwizard/upstart-respawn
Browse files Browse the repository at this point in the history
Make upstart script respawn consul on crash
  • Loading branch information
johnbellone committed Jan 29, 2015
2 parents a0d5a8b + de2965f commit 52f6669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/default/consul.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ end script
post-start exec initctl emit consul-up

kill signal INT

respawn
respawn limit 10 10

0 comments on commit 52f6669

Please sign in to comment.