I want to use Laravel queue system in my project and I want to run php artisan queue:work permanently on server's background, I did some searches about this and I found a command line which can run it even after quit from ssh terminal but It can be down in some cases and can make terrible problems for me. So after a while I found out that there is a package named Supervisord which can restart command even after server is rebooted. But unfortunately my linux knowledge is low so I want to ask someone to help from 0 to 100 step by step how to install Supervisord and config it on centos 7 and after that set the queue command line. Thank you so much..
相关问题
- Laravel Option Select - Default Issue
- Laravel 5.1 MethodNotAllowedHttpException on store
- Laravel - Implicit route model binding with soft d
- laravel : php artisan suddenly stop working
- How to execute MYSQL query in laravel?
相关文章
- Centos7 图形界面能修改yum软件源吗?
- laravel create model from custom stub when using p
- send redirect and setting cookie, using laravel 5
- How to send parameters to queues?
- Bcrypt vs Hash in laravel
- Laravel: What's the advantage of using the ass
- How to make public folder as root in Laravel?
- Input file in laravel 5.2?
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:systemctl enable supervisord
to autorun at startsystemctl restart supervisord
to restart the service