mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
rm 1.5.10, use official db, update download sh
This commit is contained in:
@@ -10,7 +10,7 @@ if [ ! -f "./wp-config.php" ]; then
|
||||
COUNTER=$((COUNTER+1))
|
||||
if [ ${COUNTER} = 10 ]; then
|
||||
echo '--- MySQL is starting, please wait... ---'
|
||||
elif [ ${COUNTER} = 100 ]; then
|
||||
elif [ ${COUNTER} = 60 ]; then
|
||||
echo '--- MySQL is timeout, exit! ---'
|
||||
exit 1
|
||||
fi
|
||||
@@ -44,7 +44,6 @@ if [ ! -f "./wp-config.php" ]; then
|
||||
|
||||
fi
|
||||
|
||||
|
||||
www_uid=$(stat -c "%u" /var/www/vhosts/localhost)
|
||||
if [ ${www_uid} -eq 0 ]; then
|
||||
#echo "./sites/localhost is owned by root, auto changing ownership of ./sites/localhost to uid 1000"
|
||||
|
||||
Reference in New Issue
Block a user