Fix permissions, I guess ?

This commit is contained in:
2025-12-30 03:07:46 +01:00
parent 2c33d821f0
commit 74cbb84742

View File

@@ -6,6 +6,7 @@ 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"
mosquitto_passwd -b "$PASSWORD_FILE" system hepl
mosquitto_passwd -b "$PASSWORD_FILE" device hepl