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:
parent
c5e8985110
commit
6f215ad6cc
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue