systemd unit config
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Wirenboard Temperature Monitor
|
Description=Wirenboard Temperature Control
|
||||||
After=network.target mosquitto.service
|
After=network.target mosquitto.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
User=root
|
User=root
|
||||||
|
|||||||
Reference in New Issue
Block a user