From dd9e7535a7ebde769b264c8f440cd37c1e866e1c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 10 Dec 2021 17:53:11 +0100 Subject: [PATCH] Update remove --- scripts/remove | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 75f33c32..d5c6e070 100644 --- a/scripts/remove +++ b/scripts/remove @@ -32,16 +32,16 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) if ynh_exec_warn_less yunohost service status "supervisor" >/dev/null then ynh_script_progression --message="Removing supervisor service..." - yunohost service remove "supervisor" + yunohost service remove "$app" fi #================================================= # STOP AND REMOVE SERVICE #================================================= -ynh_script_progression --message="Stopping and removing the supervisor service..." +ynh_script_progression --message="Stopping and removing the systemd service..." # Remove the dedicated supervisor config -ynh_remove_supervisor_config --service="${app}-horizon" +ynh_remove_systemd_config #================================================= # REMOVE THE POSTGRESQL DATABASE