From 3d89294499afb1b6b37f1c6cd0e6d4ab89e3cc48 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 21 Nov 2021 12:57:35 +0100 Subject: [PATCH] Fix --- scripts/upgrade | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 443aaf6..6257eb8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,8 +105,6 @@ ynh_system_user_create --username=$app --home_dir=$final_path #================================================= ynh_script_progression --message="Installing dependencies..." --weight=12 -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies - ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= @@ -132,10 +130,16 @@ chown -R $app:www-data "$final_path" #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 +ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config + +#================================================= +# SETUP LOGROTATE +#================================================= +ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 + # Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --non-append