From 4f7df0c1b310d8cb010c526f0e0d3c4f6f1125cb Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 26 Feb 2019 20:18:42 +0100 Subject: [PATCH] Fix removal dependencies --- scripts/install | 6 ++++++ scripts/remove | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7464cdf..d708a64 100644 --- a/scripts/install +++ b/scripts/install @@ -232,6 +232,12 @@ fi ynh_print_info "Reloading nginx web server..." systemctl reload nginx + +#================================================= +# RELOAD ONLYOFFICE +#================================================= +ynh_print_info "Reloading OnlyOffice..." + supervisorctl stop all supervisorctl start all diff --git a/scripts/remove b/scripts/remove index 17aea17..e4325f1 100644 --- a/scripts/remove +++ b/scripts/remove @@ -39,8 +39,6 @@ ynh_psql_remove_db $db_name $db_name ynh_print_info "Removing dependencies" # Remove metapackage and its dependencies -ynh_package_remove onlyoffice-documentserver -ynh_package_remove nodejs ynh_remove_app_dependencies #================================================= @@ -80,7 +78,6 @@ fi # Remove a directory securely ynh_secure_remove "/etc/apt/sources.list.d/onlyoffice.list" -ynh_secure_remove "/etc/apt/sources.list.d/onlyoffice.list" ynh_secure_remove "/etc/apt/sources.list.d/nodesource.list" # Remove the log files