#Supervisor Installation on fedora 23
-
dnf install supervisor
-
echo_supervisord_conf > /etc/supervisord.conf
-
nano /etc/supervisord.conf
-
Add the following to the conf. file (THIS IS JUST A TEMPLATE)
[program:laravel-worker] process_name=%(program_name)s_%(process_num)02d
command=php /vhosts/myapp/artisan queue:work --queue=birthday_email --sleep=3 --tries=3 --daemon