diff --git a/etc/systemd/system/service.d/README.md b/etc/systemd/system/service.d/README.md new file mode 100644 index 00000000..12e5082a --- /dev/null +++ b/etc/systemd/system/service.d/README.md @@ -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!_** diff --git a/etc/systemd/system/service.d/never-fail.conf b/etc/systemd/system/service.d/never-fail.conf index ef36dc7a..f2a53613 100644 --- a/etc/systemd/system/service.d/never-fail.conf +++ b/etc/systemd/system/service.d/never-fail.conf @@ -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