1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Upgrade change: mistake between Install and upgrade

This commit is contained in:
frju365 2017-03-04 21:19:09 +01:00 committed by GitHub
parent 1e2af630d2
commit 0c7aba0bc4

View file

@ -58,7 +58,7 @@ sudo chmod 644 /etc/nginx/conf.d/$domain.d/$app.conf
# If a dedicated php-fpm process is used: # If a dedicated php-fpm process is used:
# # Modify PHP-FPM pool configuration and copy it to the pool directory # # Modify PHP-FPM pool configuration and copy it to the pool directory
sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf
sed -i "s@YNH_WWW_ALIAS@$src_path/@g" ../conf/php-fpm.conf sed -i "s@YNH_WWW_ALIAS@$app/@g" ../conf/php-fpm.conf
finalphpconf=/etc/php5/fpm/pool.d/$app.conf finalphpconf=/etc/php5/fpm/pool.d/$app.conf
sudo cp ../conf/php-fpm.conf $finalphpconf sudo cp ../conf/php-fpm.conf $finalphpconf
sudo chown root: $finalphpconf sudo chown root: $finalphpconf