Remove the code for yunohost service remove $app, because with https://github.com/YunoHost/yunohost/pull/1779 it will be handled

This commit is contained in:
Félix Piédallu 2024-02-21 16:23:46 +01:00
parent d35266b80e
commit 64c131e7bb

View file

@ -27,14 +27,6 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
### This should be a symetric version of what happens in the install script
# 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
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove "$app"
fi
ynh_remove_fail2ban_config
ynh_remove_logrotate