mirror of
https://github.com/YunoHost-Apps/element_ynh.git
synced 2024-09-03 18:36:08 +02:00
Fix remove script
This commit is contained in:
parent
ef0ee9c4fc
commit
4573c074ac
1 changed files with 5 additions and 4 deletions
|
@ -17,13 +17,14 @@ source ./_common.sh
|
|||
# Retrieve arguments
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
|
||||
ynh_secure_remove "/var/www/$app"
|
||||
|
||||
# Remove the dedicated php-fpm config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
# Delete a system user
|
||||
ynh_system_user_delete $app
|
||||
# Remove all files
|
||||
ynh_secure_remove "/var/www/$app"
|
||||
|
||||
# Suppression de la configuration nginx
|
||||
ynh_remove_nginx_config
|
||||
|
||||
# Delete a system user
|
||||
ynh_system_user_delete $app
|
Loading…
Add table
Reference in a new issue