Files
BSHGateWay/linux-service/bsh-gateway.service

18 lines
305 B
Desktop File

[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