Change poller-service upstart script to wait before respawn and keep trying. #1812

Merged
merged 1 commit into from Aug 31, 2015

Projects

None yet

3 participants

@spinza
Contributor
spinza commented Aug 30, 2015

I had a tunnel to mysql database go down. What happened is that the poller-service stopped because it respawned too many times in a short interval and upstart stopped it. This happened before the tunnel was back up.

This change makes it wait 60 seconds before restarting but also respawn an unlimited number of times. Logic is to give whatever cause the process to fail some time to fix. And to keep trying.

@spinza spinza Change upstart script:
- Respawn and unlimited number of times
- Wait 60 seconds before restarting
Logic is to give whatever cause the process to fail some time to fix.  And to keep trying.
e55b1cb
@f0o f0o merged commit 3798a0f into librenms:master Aug 31, 2015

2 checks passed

Auto-Deploy Build finished.
Details
Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment