26 lines
745 B
Plaintext
26 lines
745 B
Plaintext
[unix_http_server]
|
|
file=/run/supervisord.sock ; (the path to the socket file)
|
|
|
|
[supervisord]
|
|
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log)
|
|
loglevel=error
|
|
logfile_maxbytes=10MB
|
|
logfile_backups=7
|
|
user=root
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///run/supervisord.sock ; use a unix:// URL for a unix socket
|
|
|
|
[program:redis]
|
|
command=redis-server
|
|
stderr_logfile = /var/log/supervisord-redis.err
|
|
stdout_logfile = /var/log/supervisord-redis.log
|
|
|
|
[program:phpfpm]
|
|
command=/usr/sbin/php-fpm82 -c /etc/php82/php-fpm.conf -F
|
|
stderr_logfile = /var/log/supervisord-fpm.err
|
|
stdout_logfile = /var/log/supervisord-fpm.log
|