Difference between revisions of "Unit files"

From Wiki 4 Men
Jump to navigation Jump to search
Line 10: Line 10:
   
 
https://freshman.tech/snippets/linux/auto-restart-systemd-service/
 
https://freshman.tech/snippets/linux/auto-restart-systemd-service/
  +
  +
== Restart=always ==
   
 
RestartSec=
 
RestartSec=

Revision as of 03:32, 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

RestartSec=

RestartSteps=

RestartMaxDelaySec=