Modifications : etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Apr 2015 10:46:19 +0000 (12:46 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Apr 2015 10:46:19 +0000 (12:46 +0200)
srv/ateliers/etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4

index e670558..bcba38d 100644 (file)
@@ -1,17 +1,17 @@
 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
 [POOL]
-access.log = /home/www/log/php5/fpm/POOL/access.log
+access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log
 catch_workers_output = no
 chdir = /
 env[HOSTNAME] = $HOSTNAME
 env[TEMP] = /tmp
 env[TMPDIR] = /tmp
 env[TMP] = /tmp
-group = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/user)
+group = CAT(sys/php5/fpm/POOL/user)
 #listen = 127.0.0.1:9000
-listen = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/socket)
+listen = CAT(sys/php5/fpm/POOL/socket)
 #listen.allowed_clients = 127.0.0.1
-listen.group = www-data
+listen.group = CAT(sys/nginx/user)
 listen.mode = 0660
 #listen.owner = www-data
 listen.backlog = -1
@@ -27,8 +27,8 @@ request_slowlog_timeout = 5s
 request_terminate_timeout = 120s
 rlimit_core = unlimited
 rlimit_files = 131072
-slowlog = /home/www/log/php5/fpm/POOL/slow.log
-user = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/user)
+slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
+user = CAT(sys/php5/fpm/POOL/user)
 #php_admin_value[extension] = pdo_mysql.so
 php_admin_value[extension] = mysql.so
 pm.max_children = 4