feat(cli) : separate cli, use templates WIP
This commit is contained in:
parent
a685758881
commit
8a62a447a8
6 changed files with 96 additions and 63 deletions
12
templates/php-fpm.php
Normal file
12
templates/php-fpm.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
[<?=$this->e($user)?>]
|
||||
user = <?=$this->e($user)?>
|
||||
group = <?=$this->e($user)?>
|
||||
listen = /var/run/php-fpm-<?=$this->e($user)?>.sock
|
||||
listen.owner = www-data
|
||||
listen.group = www-data
|
||||
pm = dynamic
|
||||
pm.max_children = 75
|
||||
pm.start_servers = 10
|
||||
pm.min_spare_servers = 5
|
||||
pm.max_spare_servers = 20
|
||||
pm.process_idle_timeout = 10
|
Loading…
Add table
Add a link
Reference in a new issue