Difference between revisions of "Unit files"
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
== Restart=always == |
== Restart=always == |
||
+ | |||
+ | StartLimitIntervalSec=0 |
||
RestartSec= |
RestartSec= |
Latest revision as of 03:35, 18 August 2025
Unit files is a draft article and may contain little or no information. The article will not be published on A Voice for Men or appear in random article selections. Wiki4Men is looking for trustworthy editors that can turn draft articles in to featured articles. Information on how to apply is on the Main Page.
Notes
Restart=always will still allow a service to be shut down by Systemd.
https://www.tecmint.com/list-all-running-services-under-systemd-in-linux/
With default settings, systemd will also give up with too many failures.
https://unix.stackexchange.com/questions/289629/systemd-restart-always-is-not-honored
https://freshman.tech/snippets/linux/auto-restart-systemd-service/
Restart=always
StartLimitIntervalSec=0
RestartSec=
RestartSteps=
RestartMaxDelaySec=