diff --git a/php-worker/supervisord.conf b/php-worker/supervisord.conf index 90bbdace..d0a2ece5 100644 --- a/php-worker/supervisord.conf +++ b/php-worker/supervisord.conf @@ -1,5 +1,11 @@ [supervisord] nodaemon=true +[supervisorctl] +[inet_http_server] +port = 127.0.0.1:9001 +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + [program:laravel-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/artisan queue:work --sleep=3 --tries=3 --daemon