16 lines
387 B
Plaintext
16 lines
387 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
pidfile=/run/supervisord.pid
|
|
user=root
|
|
|
|
[program:laravel-worker]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=php <%= @projectroot %>/artisan queue:work
|
|
autostart=true
|
|
autorestart=true
|
|
numprocs=8
|
|
user=www-data
|
|
stderr_logfile=/var/log/supervisor_laravel_worker.err.log
|
|
stdout_logfile=/var/log/supervisor_laravel_worker.out.log
|
|
logfile_maxbytes=10MB
|