systemd unit config
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
[Unit]
|
||||
Description=Wirenboard Temperature Monitor
|
||||
Description=Wirenboard Temperature Control
|
||||
After=network.target mosquitto.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/wb-temperature-monitor.py
|
||||
WorkingDirectory=/opt/wb_heat_control
|
||||
ExecStart=/opt/wb_heat_control/heat_control.py
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
User=root
|
||||
|
||||
Reference in New Issue
Block a user