Install and configure supervisord on centos 7 to run Laravel queues permanently

here is how to install and config supervisord on centos 7 to run Laravel queues permanently: easy_install supervisor yum install supervisor vim /etc/supervisord.conf edit section program as following: [program:laravel-worker] command=php /path/to/app.com/artisan queue:work process_name=%(program_name)s_%(process_num)02d numprocs=8 priority=999 autostart=true autorestart=true startsecs=1 startretries=3 user=apache redirect_stderr=true stdout_logfile=/path/to/log/worker.log systemctl enable supervisord to autorun at start systemctl restart supervisord to restart the … Read more