forked from eatvio/eatvio-infra
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
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=2
|
|
redirect_stderr=true
|
|
stdout_logfile=/application/storage/logs/worker.log
|
|
stopwaitsecs=3600
|
|
|
|
[program:laravel-schedule]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=php /application/artisan schedule:work
|
|
directory=/application
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
user=www-data
|
|
numprocs=1
|
|
redirect_stderr=true
|
|
stdout_logfile=/application/storage/logs/schedule.log
|
|
stopwaitsecs=3600
|
|
|
|
[program:laravel-feed-generation-worker]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=php /application/artisan queue:work --queue=feed-generation --sleep=1 --tries=3 --timeout=1800 --max-time=3600
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
user=www-data
|
|
numprocs=8
|
|
redirect_stderr=true
|
|
stdout_logfile=/application/storage/logs/feed-generation-worker.log
|
|
stopwaitsecs=3600
|