Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make updater.py systemd script more robust #16

Open
2 tasks
hellais opened this issue Jan 13, 2017 · 0 comments
Open
2 tasks

Make updater.py systemd script more robust #16

hellais opened this issue Jan 13, 2017 · 0 comments

Comments

@hellais
Copy link
Contributor

hellais commented Jan 13, 2017

From https://paste.debian.net/hidden/344337da/ it seems like the systemd script for lepidopter-updater will stop trying to restart the updater if it fails for more than 3 times.

Moreover it seems like it tries to restart it in rapid sequential fashion.

It can happen that if the network is down (or github is down) it will fail to run the update script and hence fail to start.

We should:

  • Add a delay of 60 seconds between restarts of the updater script
  • Continue trying to restart it until we succeed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant