mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 14:58:20 +08:00
replace logs/mysqld.log symlink with wait_and_tail_logs
This commit is contained in:
@@ -43,6 +43,8 @@ if [ "$1" = 'mysqld.bin' ]; then
|
||||
$BITNAMI_APP_VOL_PREFIX/conf/ \
|
||||
$BITNAMI_APP_VOL_PREFIX/logs/ \
|
||||
$BITNAMI_APP_VOL_PREFIX/data/ || true
|
||||
|
||||
wait_and_tail_logs &
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
#!/bin/bash
|
||||
cd $BITNAMI_APP_DIR
|
||||
|
||||
# set up logging to stdout
|
||||
ln -s /dev/stdout logs/mysqld.log
|
||||
|
||||
# set up default config
|
||||
mkdir conf.defaults
|
||||
mv my.cnf conf.defaults/
|
||||
|
||||
Reference in New Issue
Block a user