Files
pool_thermometer/gateway/pooltemp.service
2026-07-02 13:47:22 +02:00

12 lines
267 B
Desktop File

[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