initial commit from old development
This commit is contained in:
17
linux-service/bsh-gateway.service
Normal file
17
linux-service/bsh-gateway.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/bsh-gateway
|
||||
ExecStart=/opt/bsh-gateway/BSHGateWay.py
|
||||
ExecStop=/bin/sleep 1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user