initial check-in
This commit is contained in:
17
linux-service/Mqtt2ThingBoardGateWay.service
Normal file
17
linux-service/Mqtt2ThingBoardGateWay.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=BoschHomeAutomation 2 MQTT Gateway
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
StartLimitInterval=200
|
||||
StartLimitBurst=5
|
||||
|
||||
WorkingDirectory=/opt/Mqtt2ThingBoardGateWay
|
||||
ExecStart=/opt/Mqtt2ThingBoardGateWay/Mqtt2ThingBoardGateWay.py
|
||||
ExecStop=/bin/sleep 1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user