Update 99-run.sh

This commit is contained in:
Alexandre
2022-06-10 22:25:39 +02:00
committed by GitHub
parent 6118d329bc
commit fa5ea8a1bc

View File

@@ -87,7 +87,7 @@ case $(bashio::config 'database') in
export MYSQL_ROOT_PASSWD="$(bashio::services "mysql" "password")" && sed -i "1a export MYSQL_ROOT_PASSWD=$(bashio::services "mysql" "password")" /home/seafile/*.sh
# Allow initial connection
sed -i 's|port=${MYSQL_PORT})|port=${MYSQL_PORT}, user="${MYSQL_USER}"}")|g' /home/seafile/wait_for_db.sh
sed -i 's|port=${MYSQL_PORT})|port=${MYSQL_PORT}, user="${MYSQL_USER}")|g' /home/seafile/wait_for_db.sh
bashio::log.warning "This addon is using the Maria DB addon"
bashio::log.warning "Please ensure this is included in your backups"