Created
October 16, 2019 07:07
-
-
Save BagriyDmitriy/8e0c420bdb097c07b1b8414299ac7050 to your computer and use it in GitHub Desktop.
/etc/supervisord.conf - Supervisord config for centos 7 (two queue and laravel-echo-server)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:laravel-echo-server-sodevb] | |
process_name=%(program_name)s_%(process_num)02d | |
directory=/var/www/servername/html/base | |
command=/usr/bin/laravel-echo-server start | |
autostart=true | |
autorestart=true | |
user=root | |
numprocs=1 | |
priority=999 | |
[program:laravel-worker-sodevb-queues-high-and-default] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /var/www/html/servername/html/base/artisan queue:work redis --queue=high,default --tries=3 --delay=5 --timeout=30 --sleep=0.05 | |
autostart=true | |
autorestart=true | |
user=nginx | |
numprocs=1 | |
priority=998 | |
[program:laravel-worker-sodevb-queue-process] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /var/www/html/servername/html/base/artisan queue:work redis --queue=process --tries=0 --delay=0 --timeout=120 --sleep=5 --memory=2048 | |
autostart=true | |
autorestart=true | |
user=nginx | |
numprocs=1 | |
priority=990 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment