Add example service file

This commit is contained in:
2025-11-02 11:19:44 +00:00
parent a0fbd9308c
commit 01ff4dcd9e
2 changed files with 15 additions and 1 deletions

14
thingy52-bridge.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=Bridge Thingy:52 to MQTT
Wants=network-online.target
After=network.target network-online.target
[Service]
Type=simple
User=service
ExecStart=python3 /path/to/thingy52-mqtt-bridge/app.py
Restart=on-failure
RestartSec=10s
[Install]
WantedBy=multi-user.target