I an using laravel 5.1 and Redis database for the queue. I want to supervise the queue:listen command Application is hosted in AWS.
For the installation I have used following command
sudo su - //it would be root user
easy_install supervisor
echo_supervisord_conf
echo_supervisord_conf > /etc/supervisord.conf
cd /etc
sudo vim supervisord.conf
Add the following line at the bottom
[program:queue]
command=/usr/bin/php /var/www/html/artisan --env="production" --daemon --timeout 240 queue:listen
supervisord -c /etc/supervisord.conf
supervisorctl status
It generates the following log
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/21eKFIz
via IFTTT
Aucun commentaire:
Enregistrer un commentaire