From 3606e8d08a30cb1257715e665c26c48e91c48fa8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Feb 2022 08:56:19 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a374e07..5eac6af 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -47,11 +47,8 @@ ynh_abort_if_errors if [ "$upgrade_type" == "UPGRADE_APP" ] then tempdir="$(mktemp -d)" - ynh_setup_source --dest_dir=$tempdir --source_id=app - ynh_exec_warn_less dpkg -i $tempdir/kiwiirc_20.05.24.1-1_amd64.deb - fi #================================================= @@ -75,7 +72,7 @@ yunohost service add $app --description="Versatile web based messenger using IRC ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" +ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" #================================================= # RELOAD NGINX