From b3af10ff9e647770bcb299387ca0d7a878fa224c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 17 Feb 2019 19:04:50 +0100 Subject: [PATCH] remove service from admin panel before removing service itself --- scripts/remove | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index 6fda864..06cecf6 100755 --- a/scripts/remove +++ b/scripts/remove @@ -23,13 +23,6 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # STANDARD REMOVE -#================================================= -# STOP AND REMOVE SERVICE -#================================================= - -# Remove the dedicated systemd config -ynh_remove_systemd_config - #================================================= # REMOVE SERVICE FROM ADMIN PANEL #================================================= @@ -41,6 +34,14 @@ then yunohost service remove $app fi +#================================================= +# STOP AND REMOVE SERVICE +#================================================= + +# Remove the dedicated systemd config +ynh_remove_systemd_config + + #================================================= # REMOVE THE MYSQL DATABASE #=================================================