faq:linux:systemd
Systemd
Restart after fail
If some service fails to start after waking up from suspend (for example, fancontrol) or just sometimes fails, you can force automatic restart of this service:
sudo systemctl edit fancontrol.service
This command will open editor. Fill in this directives:
[Service] Restart=always
As a result an override file will be created in a drop-in directory /etc/systemd/system/fancontrol.service.d
1)
faq/linux/systemd.txt · Последнее изменение: 2022-02-19 18:16 — 127.0.0.1