Always restart service after failure - systemd
Why
Some services are critical to operation and without them, we may have issues like not being able to access systems.
These services don't really fail often, and are not dangerous to restart loop them.
Edit the system File
Navigate to
Edit the name of the service, example being
- Service: Bradley
- File:
bradley.service
Update [Service]
Place below the line [Service]
the following
You can tweak RestartSec
however you want
Reload the System
Additional Reading
Want to make this site better? Open a PR or help fund hosting costs