summaryrefslogtreecommitdiffstats
path: root/configuration/init/systemd/tedge-watchdog.service
diff options
context:
space:
mode:
Diffstat (limited to 'configuration/init/systemd/tedge-watchdog.service')
-rw-r--r--configuration/init/systemd/tedge-watchdog.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/configuration/init/systemd/tedge-watchdog.service b/configuration/init/systemd/tedge-watchdog.service
new file mode 100644
index 00000000..bcea2e94
--- /dev/null
+++ b/configuration/init/systemd/tedge-watchdog.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=tedge-watchdog: Checks the health of all thin-edge.io services
+After=syslog.target network.target mosquitto.service
+StartLimitIntervalSec=0
+
+[Service]
+Type=notify
+ExecStart=/usr/bin/tedge_watchdog
+Restart=always
+WatchdogSec=30
+
+[Install]
+WantedBy=multi-user.target