1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webmin_ynh.git synced 2024-09-03 20:36:08 +02:00

Update remove

This commit is contained in:
ericgaspar 2020-10-16 18:03:22 +02:00
parent c5e8985110
commit 6f215ad6cc
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -28,14 +28,14 @@ port=$(ynh_app_setting_get --app=$app --key=port)
# 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 Webmin service integration..."
ynh_script_progression --message="Removing Webmin service integration..." --weight=1
yunohost service remove $app
fi
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
ynh_script_progression --message="Stopping and removing the systemd service..."
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=2
# Remove the dedicated systemd config
ynh_remove_systemd_config
@ -73,4 +73,4 @@ fi
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Removal of Webmin completed"
ynh_script_progression --message="Removal of Webmin completed" --last