Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

supervisor configuration for laravel queue

[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /home/forge/app.com/artisan queue:work sqs --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=forge
numprocs=8
redirect_stderr=true
stdout_logfile=/home/forge/app.com/worker.log
stopwaitsecs=3600
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #supervisor #configuration #laravel #queue
ADD COMMENT
Topic
Name
9+3 =