mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix removal dependencies
This commit is contained in:
parent
ef2ca80d36
commit
4f7df0c1b3
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue