From 6eab98e0a9b93072b441fb09c4fa917e2cca69d9 Mon Sep 17 00:00:00 2001
From: Waldek <sp2ong@wp.pl>
Date: Tue, 17 Sep 2019 21:24:12 +0200
Subject: [PATCH] Add files via upload

Add example hbmon.service
---
 utils/hbmon.service | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 utils/hbmon.service

diff --git a/utils/hbmon.service b/utils/hbmon.service
new file mode 100644
index 0000000..43065c1
--- /dev/null
+++ b/utils/hbmon.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=HBMonitor
+# To make the network-online.target available
+# systemctl enable systemd-networkd-wait-online.service
+
+After=network-online.target syslog.target
+Wants=network-online.target
+
+[Service]
+StandardOutput=null
+WorkingDirectory=/opt/HBmonitor
+RestartSec=3
+ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target