1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-05-21 14:28:04 +02:00
parent 2c55772c5f
commit 2d162aff6d
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -87,6 +87,11 @@ then
ynh_setup_source --dest_dir=$final_path --source_id="$architecture" --keep="$final_path/$app.conf" ynh_setup_source --dest_dir=$final_path --source_id="$architecture" --keep="$final_path/$app.conf"
fi fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chmod +x "$final_path/miniflux"
chown -R $app:www-data "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================
@ -109,17 +114,6 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=2
ynh_add_systemd_config ynh_add_systemd_config
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
ynh_script_progression --message="Securing files and directories..."
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================