replace logs/mysqld.log symlink with wait_and_tail_logs

This commit is contained in:
Sameer Naik
2015-09-09 14:17:22 +05:30
parent 90116b2396
commit bc1df8947f
2 changed files with 2 additions and 3 deletions

View File

@@ -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 "$@"

View File

@@ -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/