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

Update upgrade

This commit is contained in:
Memo 2022-04-06 17:44:15 +02:00 committed by GitHub
parent 357bdbdae0
commit 4b71acb7ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Upgrading PHP-FPM configuration..." ynh_script_progression --message="Upgrading PHP-FPM configuration..."
# Create a dedicated php-fpm config # Create a dedicated php-fpm config
ynh_add_fpm_config --phpversion=$phpversion ynh_add_fpm_config --usage=low --footprint=low
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
@ -199,7 +199,10 @@ chmod 644 "/etc/cron.d/$app"
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
set_permissions # Set permissions to app files
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX