Skip to content

Commit

Permalink
Updated the systemd service file, to ensure restarts of the service a…
Browse files Browse the repository at this point in the history
…re not fired rapidly, in case WiFi connectivity (and thus MQTT connectivity) is lost.
  • Loading branch information
slespersen committed Dec 21, 2024
1 parent da9279a commit 8a4826b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evseMQTT.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ After=network.target dbus.service
EnvironmentFile=/etc/default/evseMQTT
ExecStart=/usr/local/bin/evseMQTT --address ${BLE_ADDRESS} --password ${BLE_PASSWORD} --unit ${UNIT} --mqtt --mqtt_broker ${MQTT_BROKER} --mqtt_port ${MQTT_PORT} --mqtt_user ${MQTT_USER} --mqtt_password ${MQTT_PASSWORD} --logging_level ${LOGGING_LEVEL}
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

0 comments on commit 8a4826b

Please sign in to comment.