Any way to register application with systemd watchdog at runtime ?
I mean don't use systemd unit file, via systemd API for example
Linux watchdog is used for system reset only ? Can it be used for application reset ?
systemdwatchdog
Any way to register application with systemd watchdog at runtime ?
I mean don't use systemd unit file, via systemd API for example
Linux watchdog is used for system reset only ? Can it be used for application reset ?
Best Answer
Systemd's watchdog can be mainly used for 3 different actions:
RuntimeWatchdogSec=
option in/etc/systemd/system.conf
example unit file:
The example is taken from: http://0pointer.de/blog/projects/watchdog.html, which gives a pretty complete overview of what and how you can use the watchdog service.