From d23d97f9dd16e40c02f6543e62171060738fa915 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 25 Jan 2020 00:21:46 +1100 Subject: [PATCH] Add marker to echo statements --- init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init b/init index ae77471..47fda3c 100755 --- a/init +++ b/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