diff options
Diffstat (limited to 'app')
-rwxr-xr-x | app/seafile/build/mariadb/entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/seafile/build/mariadb/entrypoint.sh b/app/seafile/build/mariadb/entrypoint.sh index 7ebf049..1bb2f01 100755 --- a/app/seafile/build/mariadb/entrypoint.sh +++ b/app/seafile/build/mariadb/entrypoint.sh @@ -41,7 +41,7 @@ EOF chown mysql:mysql /var/lib/mysql [ -z "$(ls -A /var/lib/mysql)" ] && mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql -/usr/bin/mysqld_safe & +/usr/bin/mysqld_safe --skip-syslog & until ls /var/run/mysqld/mysqld.sock; do sleep 1; done /usr/bin/mysqladmin -u root password ${MYSQL_PASSWORD} || true |