diff --git a/scripts/restore b/scripts/restore index d2beee6..2b2065d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -48,9 +48,9 @@ yunohost service add $app --description="Web File Browser" --log="/var/log/$app/ #================================================= # GENERIC FINALIZATION #================================================= -# RELOAD NGINX AND PHP-FPM +# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE #================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" diff --git a/scripts/upgrade b/scripts/upgrade index 3d4cf17..5fc455f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,9 +42,9 @@ chown -R $app:www-data "$install_dir" chmod -R +x "$install_dir/filebrowser" #================================================= -# NGINX CONFIGURATION +# REAPPLY SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 +ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 # Create a dedicated NGINX config ynh_add_nginx_config