X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fphp5-fpm%2Fconfigure.sh;fp=etc%2Fsv%2Fphp5-fpm%2Fconfigure.sh;h=25187a79fb6b730516a530e56437aa706fe6c52a;hb=7162111397558c874a76b510aa16954dfc566a37;hp=1fdaa54697db976614527dcba63d9617fd8023e6;hpb=07f867bc5dc0e3bb3d01ceef80ce434e96642cba;p=lhc%2Fateliers.git diff --git a/etc/sv/php5-fpm/configure.sh b/etc/sv/php5-fpm/configure.sh index 1fdaa54..25187a7 100644 --- a/etc/sv/php5-fpm/configure.sh +++ b/etc/sv/php5-fpm/configure.sh @@ -45,7 +45,7 @@ for pool in $(find "$tool"/etc/php5/fpm/pool.d/ \ -false ${@:+$(printf -- '-or -name %s.conf\n' "$@")} \ -printf '%f\n') do pool=${pool%\.conf} - rule adduser "$pool"__php5 \ + rule adduser php5_"$pool" \ --disabled-login \ --disabled-password \ --group \ @@ -76,7 +76,7 @@ for pool in $(find "$tool"/etc/php5/fpm/pool.d/ \ env[TEMP] = /tmp env[TMPDIR] = /tmp env[TMP] = /tmp - group = ${pool}__php5 + group = php5_$pool #listen = 127.0.0.1:9000 listen = /run/php5/fpm/$pool #listen.allowed_clients = 127.0.0.1 @@ -96,7 +96,7 @@ for pool in $(find "$tool"/etc/php5/fpm/pool.d/ \ rlimit_core = unlimited rlimit_files = 131072 slowlog = /home/www/log/php5/fpm/$pool/slow.log - user = ${pool}__php5 + user = php5_$pool $(cat "$tool"/etc/php5/fpm/pool.d/"$pool".conf) EOF done