Add marker to echo statements
This commit is contained in:
parent
06e4f0dfcd
commit
d23d97f9dd
10
init
10
init
@ -63,11 +63,11 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
||||
fi
|
||||
|
||||
if [ -r .migrate ]; then
|
||||
echo "Running migration..."
|
||||
echo "* Running migration..."
|
||||
su www-data -s /bin/sh -c "php artisan migrate && rm -f .migrate"
|
||||
fi
|
||||
|
||||
echo "Caching configuration..."
|
||||
echo "* Caching configuration..."
|
||||
su www-data -s /bin/sh -c "(php artisan config:cache && php artisan route:cache && php artisan view:cache)"
|
||||
fi
|
||||
|
||||
@ -79,7 +79,7 @@ elif [ "$role" = "queue" -a -e artisan ]; then
|
||||
exec /bin/bash
|
||||
fi
|
||||
|
||||
echo "Running the queue..."
|
||||
echo "* Running the queue..."
|
||||
# We'll delay starting in case the app is caching
|
||||
sleep 15
|
||||
while true; do
|
||||
@ -92,7 +92,7 @@ elif [ "$role" = "scheduler" -a -e artisan ]; then
|
||||
exec /bin/bash
|
||||
fi
|
||||
|
||||
echo "Running the scheduler..."
|
||||
echo "* Running the scheduler..."
|
||||
# We'll delay starting in case the app is caching
|
||||
sleep 15
|
||||
|
||||
@ -102,6 +102,6 @@ elif [ "$role" = "scheduler" -a -e artisan ]; then
|
||||
done
|
||||
|
||||
else
|
||||
echo "NO container role \"${role}\", AND/OR no laravel install, just starting php-fpm"
|
||||
echo "? NO container role \"${role}\", AND/OR no laravel install, just starting php-fpm"
|
||||
exec /usr/local/bin/docker-php-entrypoint "$@"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user