Update dynsec-setup.sh in eclipse-mosquitto app
https://github.com/runtipi/runtipi-appstore/pull/2549#discussion_r1501006295 suggestion resolved by uncomment the echo command
This commit is contained in:
parent
72c95e07c4
commit
3822234bd4
|
@ -23,7 +23,7 @@ DYNSEC_FILE_PATH=/mosquitto/config/dynamic-security.json
|
|||
MQTT_DYNSEC_ADMIN_USER=${MQTT_DYNSEC_ADMIN_USER:-DEFAULT_DYNSEC_ADMIN}
|
||||
MQTT_DYNSEC_ADMIN_PASSWORD=${MQTT_DYNSEC_ADMIN_PASSWORD:-DEFAULT_DYNSEC_PASSWORD}
|
||||
|
||||
echo "Admin/Pass: ${MQTT_DYNSEC_ADMIN_USER}/${MQTT_DYNSEC_ADMIN_PASSWORD}" ## DEBUG
|
||||
# echo "Admin/Pass: ${MQTT_DYNSEC_ADMIN_USER}/${MQTT_DYNSEC_ADMIN_PASSWORD}" ## DEBUG
|
||||
|
||||
# Set the Admin Credentials for RBAC control via Dyamic Security Plugin
|
||||
mosquitto_ctrl dynsec init ${DYNSEC_FILE_PATH} ${MQTT_DYNSEC_ADMIN_USER} ${MQTT_DYNSEC_ADMIN_PASSWORD}
|
||||
|
@ -31,4 +31,4 @@ mosquitto_ctrl dynsec init ${DYNSEC_FILE_PATH} ${MQTT_DYNSEC_ADMIN_USER} ${MQTT_
|
|||
chmod 700 ${DYNSEC_FILE_PATH}
|
||||
chown 1883:1883 ${DYNSEC_FILE_PATH}
|
||||
|
||||
exec "$@"
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user