From e501f51c4ab1f91d51c0c4579954c5e3f11fb785 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 5 Jul 2019 23:33:27 +0200 Subject: [PATCH] No service to remove --- scripts/remove | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/scripts/remove b/scripts/remove index 5e155a8..074d885 100644 --- a/scripts/remove +++ b/scripts/remove @@ -24,25 +24,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # STANDARD REMOVE -#================================================= -# REMOVE SERVICE FROM ADMIN PANEL -#================================================= - -# Remove a service from the admin panel, added by `yunohost service add` -if ynh_exec_warn_less yunohost service status $app >/dev/null -then - ynh_script_progression --message="Removing $app service..." --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 #=================================================