AllinOne
This commit is contained in:
parent
d829827669
commit
619513ef37
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ services:
|
|||
sh -c '
|
||||
if [ ! -f /mosquitto/config/passwd ]; then
|
||||
echo "Creating MQTT user";
|
||||
mosquitto_passwd -b /mosquitto/config/passwd "$MQTT_USER" "$MQTT_PASS";
|
||||
mosquitto_passwd -c -b /mosquitto/config/passwd "$MQTT_USER" "$MQTT_PASS";
|
||||
chmod 600 /mosquitto/config/passwd;
|
||||
fi &&
|
||||
exec mosquitto -c /mosquitto/config/mosquitto.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue