forked from eatvio/eatvio-infra
24 lines
560 B
Plaintext
24 lines
560 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:laravel-worker]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=php /application/artisan queue:work --sleep=3 --tries=3 --max-time=3600
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
user=www-data
|
|
numprocs=4
|
|
redirect_stderr=true
|
|
stdout_logfile=/application/storage/logs/worker.log
|
|
stopwaitsecs=3600
|
|
|
|
[program:php-fpm]
|
|
command=php-fpm8.2 -F
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stdderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|