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
6dea3eef06
commit
be96fcd7fc
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,11 @@ final_path=$(ynh_app_setting_get $app final_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD REMOVE
|
# STANDARD REMOVE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
# STOP ONLYOFFICE
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info "Stopping OnlyOffice"
|
||||||
|
|
||||||
|
supervisorctl stop all
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE THE POSTGRESQL DATABASE
|
# REMOVE THE POSTGRESQL DATABASE
|
||||||
|
@ -79,6 +84,9 @@ fi
|
||||||
# Remove a directory securely
|
# 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"
|
ynh_secure_remove "/etc/apt/sources.list.d/nodesource.list"
|
||||||
|
ynh_secure_remove "/etc/onlyoffice"
|
||||||
|
ynh_secure_remove "/var/lib/onlyoffice"
|
||||||
|
ynh_secure_remove "/var/cache/nginx/onlyoffice"
|
||||||
|
|
||||||
# Remove the log files
|
# Remove the log files
|
||||||
ynh_secure_remove "/var/log/$app/"
|
ynh_secure_remove "/var/log/$app/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue