From 894f1eb9a0a598ce2d91ba896646f67195e1b6a5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Aug 2021 17:42:36 +0200 Subject: [PATCH] Update remove --- scripts/remove | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/scripts/remove b/scripts/remove index ead26e1..ce7c84a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -22,27 +22,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) -#================================================= -# STANDARD REMOVE -#================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST -#================================================= - -# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null -then - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove $app -fi - -#================================================= -# STOP AND REMOVE SERVICE -#================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 - -# Remove the dedicated systemd config -ynh_remove_systemd_config - #================================================= # REMOVE THE MYSQL DATABASE #=================================================