Align supervisor with debian

This commit is contained in:
Benjamin Brummer
2025-01-15 11:09:04 +00:00
parent fe1ff5c496
commit 4c9ae7e92f

View File

@@ -1,24 +1,24 @@
[supervisord] [supervisord]
nodaemon=true nodaemon=true
pidfile=/tmp/supervisord.pid logfile=/dev/null
logfile=/dev/null ; nodaemon will cause logs to go to stdout
logfile_maxbytes=0 logfile_maxbytes=0
loglevel=info pidfile=/var/run/supervisord.pid
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[program:php-fpm] [program:php-fpm]
command=php-fpm command=php-fpm
stdout_logfile=/dev/stdout stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr redirect_stderr=true
stderr_logfile_maxbytes=0
[program:scheduler] [program:scheduler]
command=php artisan schedule:work command=php artisan schedule:work
autorestart=true autorestart=true
stdout_logfile=/dev/stdout stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr redirect_stderr=true
stderr_logfile_maxbytes=0
[program:queue-worker] [program:queue-worker]
process_name=%(program_name)s_%(process_num)02d process_name=%(program_name)s_%(process_num)02d
@@ -28,10 +28,9 @@ autorestart=true
stopasgroup=true stopasgroup=true
killasgroup=true killasgroup=true
numprocs=2 numprocs=2
stdout_logfile=/dev/stdout stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr redirect_stderr=true
stderr_logfile_maxbytes=0
stopwaitsecs=3600 stopwaitsecs=3600
[eventlistener:shutdown] [eventlistener:shutdown]