diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-05-19 09:44:36 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-05-19 09:44:36 +0200 |
commit | 73d30b9aa5f8209482139045de34881110faccf1 (patch) | |
tree | d18236d255be87bc5fa3457cb9a7eca4b2cffcbe /app | |
parent | 8c213bc7ba97b537fbe724532cd197494bdc94e0 (diff) | |
download | infrastructure-73d30b9aa5f8209482139045de34881110faccf1.tar.gz infrastructure-73d30b9aa5f8209482139045de34881110faccf1.zip |
Disable syslog as it is not present in the container
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 |