systemd restart "rule"
See original GitHub issueis currently Restart=on-abort
this caused it to not restart for some for now undetermined reason last night. I would propose
Restart=always
StartLimitInterval=60s
StartLimitBurst=5
to ensure its restarted unless stopped by systemd, but also avoid spamming logs if something goes wonky?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
systemd.service - Freedesktop.org
By setting Restart= to on-failure , on-watchdog , on-abnormal or always , the service will be automatically restarted. The time configured here will...
Read more >How to automatically restart Linux services with Systemd
They are both useful for configuring when Systemd should stop trying to restart a service. The former specifies a time interval in seconds, ......
Read more >Is it possible to restart a systemd service via a rule
Preparation of sudo and systemctl restart is explained there. MDAR (Stuart Hanlon, UK importer of Velbus hardware) ...
Read more >Polkit rule to allow a user restart systemd service
rules file with following rule to allow members of "agroup" to administer (stop/start/restart) docker.service (Centos 7): // Allow agroup ...
Read more >Understanding and administering systemd - Fedora Docs
Systemd services can be modified using the systemctl edit command. # systemctl edit httpd.service · Add your custom configuration. For example: [Service] Restart...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s working definitely better. No issues for a long time now.
Thanks @beikeland. I’ve updated with the Restart=always configuration you’ve proposed, however I’m not using systemd myself so it will get limited testing from me. I propose we leave this issue open for a while and get some feedback.