From 8a4826badb9be74b198dafa45b8a863222b097b1 Mon Sep 17 00:00:00 2001 From: slespersen Date: Sat, 21 Dec 2024 19:21:32 +0100 Subject: [PATCH] Updated the systemd service file, to ensure restarts of the service are not fired rapidly, in case WiFi connectivity (and thus MQTT connectivity) is lost. --- evseMQTT.service | 1 + 1 file changed, 1 insertion(+) diff --git a/evseMQTT.service b/evseMQTT.service index 1e556a4..a46e338 100644 --- a/evseMQTT.service +++ b/evseMQTT.service @@ -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