mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
[fix] Fpm_config
This commit is contained in:
parent
52a01c56fb
commit
8f53e68844
1 changed files with 8 additions and 0 deletions
|
@ -119,6 +119,14 @@ fi
|
||||||
sudo cp ../conf/nginx.conf "$nginx_conf"
|
sudo cp ../conf/nginx.conf "$nginx_conf"
|
||||||
|
|
||||||
# Copy and set php-fpm configuration
|
# Copy and set php-fpm configuration
|
||||||
|
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"
|
||||||
|
sed -i "s@#USER#@${app}@g" ../conf/php-fpm.conf
|
||||||
|
sed -i "s@#GROUP#@${app}@g" ../conf/php-fpm.conf
|
||||||
|
sed -i "s@#POOLNAME#@${app}@g" ../conf/php-fpm.conf
|
||||||
|
sed -i "s@#DESTDIR#@${DESTDIR}/@g" ../conf/php-fpm.conf
|
||||||
|
sudo cp ../conf/php-fpm.conf "$phpfpm_conf"
|
||||||
|
sudo chown root: $phpfpm_conf
|
||||||
|
sudo chmod 644 $phpfpm_conf
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
# Set system group in hooks
|
# Set system group in hooks
|
||||||
|
|
Loading…
Add table
Reference in a new issue