Fix permissions, I guess ?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user