Updated Tutorial: Creating a (micro) service (asciidoc)
This commit is contained in:
parent
f0318961dc
commit
7f9fa4ac63
|
@ -165,6 +165,7 @@ sudo systemctl start myservicename
|
||||||
|
|
||||||
=== Systemd watchdog
|
=== Systemd watchdog
|
||||||
|
|
||||||
|
The watchdog automatically restarts the application if a "ping" is not received within 10 seconds. Useful to detect a frozen process.
|
||||||
To enable a watchdog, add "WatchdogSec=10s" to the service file.
|
To enable a watchdog, add "WatchdogSec=10s" to the service file.
|
||||||
|
|
||||||
Install https://github.com/FedericoCeratto/nim-sdnotify[sdnotify client]
|
Install https://github.com/FedericoCeratto/nim-sdnotify[sdnotify client]
|
||||||
|
|
Loading…
Reference in New Issue