From d7882cf02c310e5a54b28c2a31865d9dab36f049 Mon Sep 17 00:00:00 2001 From: SaEEd Date: Sat, 23 Sep 2023 20:03:16 +0330 Subject: [PATCH] add project level supervisor --- supervisord.conf | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/supervisord.conf b/supervisord.conf index 5498b3b..83ade5f 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -17,18 +17,5 @@ stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -[program:laravel-worker] -process_name=%(program_name)s_%(process_num)02d -directory=/app -command=php artisan queue:work --sleep=2 --max-time=3600 -autostart=true -autorestart=true -stopasgroup=true -killasgroup=true -user=octane -numprocs=4 -stopwaitsecs=3600 -stdout_logfile=/dev/stdout -stdout_logfile_maxbytes=0 -stderr_logfile=/dev/stderr -stderr_logfile_maxbytes=0 \ No newline at end of file +[include] +files = /etc/supervisor.conf