mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Merge pull request #41 from YunoHost-Apps/frju365-patchupgrade
Upgrade change: mistake between Install and upgrade
This commit is contained in:
commit
1b35be31bf
3 changed files with 3 additions and 3 deletions
|
@ -195,7 +195,7 @@ rlimit_core = 0
|
|||
; Chdir to this directory at the start.
|
||||
; Note: relative path can be used.
|
||||
; Default Value: current directory or / when chroot
|
||||
chdir = /var/www/YNH_WWW_ALIAS
|
||||
chdir = YNH_WWW_ALIAS
|
||||
|
||||
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
||||
; stderr will be redirected to /dev/null according to FastCGI specs.
|
||||
|
|
|
@ -120,7 +120,7 @@ sudo cp $nginxconf /etc/nginx/conf.d/$domain.d/$app.conf
|
|||
|
||||
### PHP ###
|
||||
sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf
|
||||
sed -i "s@YNH_WWW_ALIAS@$app/@g" ../conf/php-fpm.conf
|
||||
sed -i "s@YNH_WWW_ALIAS@$final_path@g" ../conf/php-fpm.conf
|
||||
finalphpconf=/etc/php5/fpm/pool.d/$app.conf
|
||||
sudo cp ../conf/php-fpm.conf $finalphpconf
|
||||
sudo chown root: $finalphpconf
|
||||
|
|
|
@ -58,7 +58,7 @@ sudo chmod 644 /etc/nginx/conf.d/$domain.d/$app.conf
|
|||
# If a dedicated php-fpm process is used:
|
||||
# # 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_ALIAS@$src_path/@g" ../conf/php-fpm.conf
|
||||
sed -i "s@YNH_WWW_ALIAS@$final_path@g" ../conf/php-fpm.conf
|
||||
finalphpconf=/etc/php5/fpm/pool.d/$app.conf
|
||||
sudo cp ../conf/php-fpm.conf $finalphpconf
|
||||
sudo chown root: $finalphpconf
|
||||
|
|
Loading…
Reference in a new issue