Gateway hinzugefügt
This commit is contained in:
12
gateway/pooltemp.service
Normal file
12
gateway/pooltemp.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Pool Thermometer Python Gateway
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/pooltemp/gateway
|
||||
ExecStart=/opt/pooltemp/gateway/.venv/bin/python /opt/pooltemp/gateway/main.py
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user