diff --git a/scripts/remove b/scripts/remove index 10b4ce8..5c4d6f5 100755 --- a/scripts/remove +++ b/scripts/remove @@ -24,13 +24,6 @@ cache=$(ynh_app_setting_get "$app" cache) #================================================= # STANDARD REMOVE -#================================================= -# STOP AND REMOVE SERVICE -#================================================= - -# Remove the dedicated systemd config -ynh_remove_systemd_config - #================================================= # REMOVE SERVICE FROM ADMIN PANEL #================================================= @@ -42,6 +35,13 @@ then yunohost service remove $app fi +#================================================= +# STOP AND REMOVE SERVICE +#================================================= + +# Remove the dedicated systemd config +ynh_remove_systemd_config + #================================================= # REMOVE DEPENDENCIES #=================================================