From 73d30b9aa5f8209482139045de34881110faccf1 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 19 May 2021 09:44:36 +0200 Subject: [PATCH] Disable syslog as it is not present in the container --- app/seafile/build/mariadb/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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