parent
a4a3f175a4
commit
a1d92a013e
@ -1,13 +1,14 @@
|
|||||||
[global]
|
[global]
|
||||||
pid = ../run/php-fpm7.pid
|
pid = /run/php-fpm7.pid
|
||||||
daemonize = no
|
daemonize = no
|
||||||
|
error_log = /dev/stderr
|
||||||
|
|
||||||
[www]
|
[www]
|
||||||
listen = /run/php-fpm.sock
|
listen = /run/php-fpm.sock
|
||||||
listen.owner = nobody
|
|
||||||
listen.group = www-data
|
|
||||||
listen.mode = 0660
|
|
||||||
|
|
||||||
access.log = /dev/null
|
access.log = /dev/null
|
||||||
|
|
||||||
clear_env = On
|
clear_env = On
|
||||||
|
pm = dynamic
|
||||||
|
pm.max_children = 5
|
||||||
|
pm.start_servers = 2
|
||||||
|
pm.min_spare_servers = 1
|
||||||
|
pm.max_spare_servers = 3
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/execlineb -P
|
||||||
|
/usr/sbin/nginx
|
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/execlineb -P
|
||||||
|
/usr/sbin/php-fpm7
|
@ -1,23 +0,0 @@
|
|||||||
[supervisord]
|
|
||||||
nodaemon=true
|
|
||||||
pidfile=/run/supervisord.pid
|
|
||||||
|
|
||||||
[program:php-fpm]
|
|
||||||
command=/usr/sbin/php-fpm7
|
|
||||||
autostart=true
|
|
||||||
autorestart=true
|
|
||||||
priority=10
|
|
||||||
stdout_logfile=/dev/stdout
|
|
||||||
stdout_logfile_maxbytes=0
|
|
||||||
stderr_logfile=/dev/stderr
|
|
||||||
stderr_logfile_maxbytes=0
|
|
||||||
|
|
||||||
[program:nginx]
|
|
||||||
command=/usr/sbin/nginx
|
|
||||||
autostart=true
|
|
||||||
autorestart=true
|
|
||||||
priority=20
|
|
||||||
stdout_logfile=/dev/stdout
|
|
||||||
stdout_logfile_maxbytes=0
|
|
||||||
stderr_logfile=/dev/stderr
|
|
||||||
stderr_logfile_maxbytes=0
|
|
Loading…
Reference in new issue