mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Update remove
This commit is contained in:
parent
71b7f83cdd
commit
aa753884fe
1 changed files with 5 additions and 5 deletions
|
@ -24,10 +24,10 @@ 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`)
|
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||||
if ynh_exec_warn_less yunohost service status "loolwsd" >/dev/null
|
if ynh_exec_warn_less yunohost service status "coolwsd" >/dev/null
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing loolwsd service integration..." --weight=1
|
ynh_script_progression --message="Removing coolwsd service integration..." --weight=1
|
||||||
yunohost service remove "loolwsd"
|
yunohost service remove "coolwsd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -36,7 +36,7 @@ fi
|
||||||
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
|
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
|
||||||
|
|
||||||
# Remove the dedicated systemd config
|
# Remove the dedicated systemd config
|
||||||
ynh_remove_systemd_config --service="loolwsd"
|
ynh_remove_systemd_config --service="coolwsd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD REMOVE
|
# STANDARD REMOVE
|
||||||
|
@ -65,7 +65,7 @@ ynh_remove_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Remove a directory securely
|
# Remove a directory securely
|
||||||
ynh_secure_remove --file="/etc/loolwsd"
|
ynh_secure_remove --file="/etc/coolwsd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue