From 34896df097ba5451a73fc1b8a9268fa30861a69c Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 30 Dec 2025 03:33:50 +0100 Subject: [PATCH] Rooooooooooh --- api-customer/mosquitto/config/init-mosquitto.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-customer/mosquitto/config/init-mosquitto.sh b/api-customer/mosquitto/config/init-mosquitto.sh index 2146a6fa..f2c76cc9 100644 --- a/api-customer/mosquitto/config/init-mosquitto.sh +++ b/api-customer/mosquitto/config/init-mosquitto.sh @@ -6,8 +6,8 @@ echo "Creating password file with pre-registered users..." if [ ! -f "$PASSWORD_FILE" ]; then touch "$PASSWORD_FILE" chmod 600 "$PASSWORD_FILE" + chown mosquitto:mosquitto "$PASSWORD_FILE" - # Add pre-registered users mosquitto_passwd -b "$PASSWORD_FILE" main hepl mosquitto_passwd -b "$PASSWORD_FILE" nodered hepl mosquitto_passwd -b "$PASSWORD_FILE" pi-1 hepl