mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 15:41:52 -05:00
Add files via upload
Add example hbmon.service
This commit is contained in:
parent
50616e3513
commit
6eab98e0a9
17
utils/hbmon.service
Normal file
17
utils/hbmon.service
Normal 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/HBmonitor
|
||||
RestartSec=3
|
||||
ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user