Update 99-run.sh

This commit is contained in:
Alexandre
2022-06-11 07:33:33 +02:00
committed by GitHub
parent 8f3c49f351
commit 44405e9818

View File

@@ -91,7 +91,8 @@ case $(bashio::config 'database') in
# Mariadb has no root user
sed -i 's|user="root"|user="${MYSQL_USER}"|g' /home/seafile/clean_db.sh
sed -i "s|root|${MYSQL_USER}|g" /opt/seafile/seafile-server-"$SEAFILE_SERVER_VERSION"/setup-seafile-mysql.sh
sed -i "s|root|${MYSQL_USER}|g" "/opt/seafile/seafile-server-"$SEAFILE_SERVER_VERSION"/*mysql.*"
sed -i "s|root|${MYSQL_USER}|g" "/root/*"
# Informations
bashio::log.warning "This addon is using the Maria DB addon"