diff --git a/scripts/remove b/scripts/remove index 32ef767..30e8f7c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -21,13 +21,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 #================================================= @@ -38,6 +31,13 @@ then yunohost service remove "$app" fi +#================================================= +# STOP AND REMOVE SERVICE +#================================================= + +# Remove the dedicated systemd config +ynh_remove_systemd_config + #================================================= # REMOVE DEPENDENCIES #=================================================