mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix removal
This commit is contained in:
parent
a3c3a2d124
commit
46ee12f252
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ ynh_app_setting_set $app port $port
|
|||
#=================================================
|
||||
# ADD NODEJS REPOSITORY
|
||||
#=================================================
|
||||
ynh_print_info "Installing nodejs..."
|
||||
ynh_print_info "Add nodejs repository..."
|
||||
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ final_path=$(ynh_app_setting_get $app final_path)
|
|||
ynh_print_info "Stopping OnlyOffice"
|
||||
|
||||
supervisorctl stop all
|
||||
killall node
|
||||
|
||||
#=================================================
|
||||
# REMOVE THE POSTGRESQL DATABASE
|
||||
|
@ -45,6 +44,7 @@ ynh_psql_remove_db $db_name $db_name
|
|||
ynh_print_info "Removing dependencies"
|
||||
|
||||
# Remove metapackage and its dependencies
|
||||
killall node
|
||||
ynh_remove_app_dependencies
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue