1
0
Fork 0
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:
Josué Tille 2018-02-12 11:08:17 +01:00
parent ef0ee9c4fc
commit 4573c074ac

View file

@ -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