systemd service.d: move common explanations from never-fail.conf to README.md

This commit is contained in:
Aminda Suomalainen 2024-01-04 12:35:48 +02:00
parent d99566d26f
commit 39dffa8939
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,11 @@
# systemd unit overrides
These are meant to be in `/etc/systemd/system/whatever.service.d/` and thus
override the behaviour of the unit either in `/etc/systemd/system` or
`/lib/systemd/system`.
See `../*.d/` for services that either symlink here or other inspiration for
using overrides.
**_DON'T PLACE THESE IN ACTUAL `/etc/systemd/system/service.d` OR THEY MIGHT
AFFECT ALL SERVICES CAUSING UNEXPECTED BEHAVIOUR!_**

View File

@ -1,6 +1,3 @@
# This file stops services from failing and will keep attempting to always
# restart them. Regardless of the location in my dotfiles, I would not place
# it here in the actual /etc
[Service]
Restart=always
RestartSec=5s