summaryrefslogtreecommitdiff
path: root/cfg/node-health-monitor.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/node-health-monitor.service.in')
-rw-r--r--cfg/node-health-monitor.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/cfg/node-health-monitor.service.in b/cfg/node-health-monitor.service.in
new file mode 100644
index 0000000..a28ab39
--- /dev/null
+++ b/cfg/node-health-monitor.service.in
@@ -0,0 +1,15 @@
+# This file is for starting the NHM as a daemon with systemd
+
+[Unit]
+Description=node-health-monitor to observe system health
+Requires=nodestatemanager-daemon.service dlt-daemon.service
+After=nodestatemanager-daemon.service dlt-daemon.service
+
+[Service]
+Type=notify
+ExecStart=@bindir@/node-health-monitor
+TimeoutSec=300
+WatchdogSec=20
+
+[Install]
+WantedBy=basic.target