From 9652a4baf991e1dd88432adec8f796a020802be7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 7 May 2018 13:53:29 +1000 Subject: [PATCH] Added PHP_OPTIONS --- start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start b/start index 13ee5e7..86bae8e 100755 --- a/start +++ b/start @@ -23,12 +23,12 @@ if [ "${role}" = "app" ]; then elif [ "$role" = "queue" ]; then echo "Running the queue..." - php artisan queue:work --verbose --tries=${WORK_TRIES:-1} --timeout=${WORK_TIMEOUT:-90} ${WORK_QUEUES:+--queue=${WORK_QUEUES}} ${WORK_MEMORY:+--memory=${WORK_MEMORY}} + php ${PHP_OPTIONS} artisan queue:work --verbose --tries=${WORK_TRIES:-1} --timeout=${WORK_TIMEOUT:-90} ${WORK_QUEUES:+--queue=${WORK_QUEUES}} ${WORK_MEMORY:+--memory=${WORK_MEMORY}} elif [ "$role" = "scheduler" ]; then while [ true ]; do - php artisan schedule:run --verbose --no-interaction & + php ${PHP_OPTIONS} artisan schedule:run --verbose --no-interaction & sleep 60 done