HBmonitor/utils/hbmon.service
Waldek 6eab98e0a9
Add files via upload
Add example hbmon.service
2019-09-17 21:24:12 +02:00

18 lines
386 B
Desktop File

[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