Updated Tutorial: Creating a (micro) service (asciidoc)

This commit is contained in:
Federico Ceratto 2017-05-10 21:25:05 +01:00
parent f0318961dc
commit 7f9fa4ac63
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ sudo systemctl start myservicename
=== 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.
Install https://github.com/FedericoCeratto/nim-sdnotify[sdnotify client]