From aa753884fedb504260f213425b0c88cd2b56c008 Mon Sep 17 00:00:00 2001 From: Taekiro Date: Tue, 21 Dec 2021 09:56:15 +0100 Subject: [PATCH] Update remove --- scripts/remove | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/remove b/scripts/remove index f3867c2..588d3ed 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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