Browse Source

[fix] fpm_config

pull/37/head
Rafi59 9 years ago
committed by GitHub
parent
commit
c6139a0bf3
  1. 8
      scripts/install

8
scripts/install

@ -86,14 +86,6 @@ fi
sudo cp ../conf/nginx.conf "$nginx_conf"
# 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
# occ helper for the current installation

Loading…
Cancel
Save