1
0
Fork 0
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:
Taekiro 2021-12-21 09:56:15 +01:00 committed by GitHub
parent 71b7f83cdd
commit aa753884fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`)
if ynh_exec_warn_less yunohost service status "loolwsd" >/dev/null
if ynh_exec_warn_less yunohost service status "coolwsd" >/dev/null
then
ynh_script_progression --message="Removing loolwsd service integration..." --weight=1
yunohost service remove "loolwsd"
ynh_script_progression --message="Removing coolwsd service integration..." --weight=1
yunohost service remove "coolwsd"
fi
#=================================================
@ -36,7 +36,7 @@ fi
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
# Remove the dedicated systemd config
ynh_remove_systemd_config --service="loolwsd"
ynh_remove_systemd_config --service="coolwsd"
#=================================================
# STANDARD REMOVE
@ -65,7 +65,7 @@ ynh_remove_nginx_config
#=================================================
# Remove a directory securely
ynh_secure_remove --file="/etc/loolwsd"
ynh_secure_remove --file="/etc/coolwsd"
#=================================================
# END OF SCRIPT