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