fix: remove phpfpm_group var

This commit is contained in:
Adrien Waksberg 2018-08-23 21:07:25 +02:00
parent ebc0ecbee4
commit c9b88165a8
3 changed files with 1 additions and 3 deletions

View file

@ -33,7 +33,6 @@ Install and configure PHP FPM
See [php pool directives documentation](http://php.net/manual/en/install.fpm.configuration.php) See [php pool directives documentation](http://php.net/manual/en/install.fpm.configuration.php)
* `phpfpm_group` - (default: `www-data`)
* `phpfpm_ping_path` - (default: `/ping`) * `phpfpm_ping_path` - (default: `/ping`)
* `phpfpm_ping_response` - (default: `pong`) * `phpfpm_ping_response` - (default: `pong`)
* `phpfpm_pm` - (default: `ondemand`) * `phpfpm_pm` - (default: `ondemand`)

View file

@ -1,5 +1,4 @@
phpfpm_version: 7.0 phpfpm_version: 7.0
phpfpm_group: www-data
phpfpm_dir: /etc/php/{{ phpfpm_version }}/fpm phpfpm_dir: /etc/php/{{ phpfpm_version }}/fpm
phpfpm_dir_log: /var/log/phpfpm phpfpm_dir_log: /var/log/phpfpm
phpfpm_packages: phpfpm_packages:

View file

@ -8,7 +8,7 @@ group = users
listen = /var/run/php{{ phpfpm_version }}-fpm-{{ pool.name }}.sock listen = /var/run/php{{ phpfpm_version }}-fpm-{{ pool.name }}.sock
listen.owner = {{ pool.user }} listen.owner = {{ pool.user }}
listen.group = {{ pool.group|default(phpfpm_group) }} listen.group = {{ pool.group|default(pool.user) }}
pm = {{ pool.pm|default(phpfpm_pm) }} pm = {{ pool.pm|default(phpfpm_pm) }}
pm.max_children = {{ pool.pm_max_children|default(phpfpm_pm_max_children) }} pm.max_children = {{ pool.pm_max_children|default(phpfpm_pm_max_children) }}