Add files via upload

This commit is contained in:
Waldek 2020-12-31 15:27:30 +01:00 committed by GitHub
parent 4788ff0fc2
commit d400feadf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
utils/hbmon.service Normal file
View File

@ -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/HBMonv2
RestartSec=3
ExecStart=/usr/bin/python3 /opt/HBMonv2/monitor.py
Restart=on-abort
[Install]
WantedBy=multi-user.target