Merge "Add respawn limit to prevent infinite respawn."
This commit is contained in:
commit
6d1c130f88
|
@ -82,6 +82,9 @@ pre-start script
|
|||
end script
|
||||
|
||||
respawn
|
||||
# the default post-start of 1 second sleep delays respawning enough to
|
||||
# not hit the default of 10 times in 5 seconds. Make it 2 times in 5s.
|
||||
respawn limit 2 5
|
||||
|
||||
exec start-stop-daemon --start -c $user --exec /opt/stack/venvs/$user/bin/$cmd -- $args
|
||||
|
||||
|
|
Loading…
Reference in New Issue