mardi 24 février 2015

Supervisor setup on aws ami (centos)

I'm trying to get supervisor working to make sure my queue system is always running.


Here are the steps I have pieced together from various sources:


easy_install supervisor


echo_supervisord_conf > /etc/supervisord.conf


Open the supervisord.conf and added to bottom:


command=/usr/bin/php /path/to/AppName/artisan --env=production --timeout=240 queue:listen


Lastly I ran:


supervisord -c /etc/supervisord.conf


When I run:


supervisorctl


and then try status:


supervisor> status


supervisor>


It does not display anything.


Am I up and running yet?





Aucun commentaire:

Enregistrer un commentaire