aboutsummaryrefslogtreecommitdiff
path: root/app/seafile/build/mariadb/entrypoint.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-05-19 09:44:36 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-05-19 09:44:36 +0200
commit73d30b9aa5f8209482139045de34881110faccf1 (patch)
treed18236d255be87bc5fa3457cb9a7eca4b2cffcbe /app/seafile/build/mariadb/entrypoint.sh
parent8c213bc7ba97b537fbe724532cd197494bdc94e0 (diff)
downloadinfrastructure-73d30b9aa5f8209482139045de34881110faccf1.tar.gz
infrastructure-73d30b9aa5f8209482139045de34881110faccf1.zip
Disable syslog as it is not present in the container
Diffstat (limited to 'app/seafile/build/mariadb/entrypoint.sh')
-rwxr-xr-xapp/seafile/build/mariadb/entrypoint.sh2
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