Added PHP_OPTIONS
This commit is contained in:
parent
ee72137f96
commit
9652a4baf9
4
start
4
start
@ -23,12 +23,12 @@ if [ "${role}" = "app" ]; then
|
|||||||
elif [ "$role" = "queue" ]; then
|
elif [ "$role" = "queue" ]; then
|
||||||
|
|
||||||
echo "Running the queue..."
|
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
|
elif [ "$role" = "scheduler" ]; then
|
||||||
|
|
||||||
while [ true ]; do
|
while [ true ]; do
|
||||||
php artisan schedule:run --verbose --no-interaction &
|
php ${PHP_OPTIONS} artisan schedule:run --verbose --no-interaction &
|
||||||
sleep 60
|
sleep 60
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user