mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2026-11-13 08:37:15 +00:00
32 lines
621 B
Plaintext
32 lines
621 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
logfile_maxbytes = 50MB
|
|
pidfile=/tmp/supervisord.pid
|
|
directory = /tmp
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisor.sock
|
|
chmod=0700
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock
|
|
|
|
[program:php-fpm]
|
|
command=/usr/local/sbin/php-fpm --nodaemonize
|
|
numprocs=1
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
priority=1
|
|
stopsignal=QUIT
|
|
|
|
|
|
[include]
|
|
files = /etc/supervisor/conf.d/*.conf
|