1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

Missing sed command for php-fpm adjustments

This commit is contained in:
polytan02 2017-02-17 13:09:39 +00:00
parent aa9a98d9d3
commit 5a8336681b
2 changed files with 2 additions and 0 deletions

View file

@ -114,6 +114,7 @@ sudo chmod 600 $nginxconf
# Modify php.ini to allow exec() function and increase the upload size limits
#sudo sed -i 's/,pcntl_exec//g' /etc/php5/fpm/php.ini
sed -i "s@UPLOADTOCHANGE@$upload@g" ../conf/php-fpm.conf
sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf
phpfpmconf=/etc/php5/fpm/pool.d/$app.conf
sudo cp ../conf/php-fpm.conf $phpfpmconf
sudo chown root: $phpfpmconf

View file

@ -65,6 +65,7 @@ sudo chmod 600 $nginxconf
# Modify php.ini to allow exec() function and increase the upload size limits
#sudo sed -i 's/,pcntl_exec//g' /etc/php5/fpm/php.ini
sed -i "s@UPLOADTOCHANGE@$upload@g" ../conf/php-fpm.conf
sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf
phpfpmconf=/etc/php5/fpm/pool.d/$app.conf
sudo cp ../conf/php-fpm.conf $phpfpmconf
sudo chown root: $phpfpmconf