My question is what is the best and simple way to run the Laravel Horizon based job workers?
My Tech Stack
- Laravel 5.5
- Horizon
- Redis Queues
- Centos
I have gone through the document https://laravel.com/docs/5.5/horizon
How to setup following supervisor as mentioned on the link above
Supervisor Configuration
[program:horizon]
process_name=%(program_name)s
command=php /home/forge/app.com/artisan horizon
autostart=true
autorestart=true
user=forge
redirect_stderr=true
stdout_logfile=/home/forge/app.com/horizon.log
Note: I have my own custom build server with php 7.1 and I later installed Horizon to run my Jobs and maintain the queues.
Any suggestion regarding how to run the Workers or where should I configure above Supervisor Configuration?