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:
parent
533a705c58
commit
0e7344e153
1 changed files with 0 additions and 8 deletions
|
@ -25,14 +25,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
|
||||
|
|
Loading…
Reference in a new issue