diff --git a/scripts/remove b/scripts/remove index 8c44094..6dc0d3b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -8,8 +8,6 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 - # 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 @@ -17,6 +15,8 @@ then yunohost service remove $app fi +ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 + ynh_remove_systemd_config ynh_remove_nginx_config