mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Use of secure remove
This commit is contained in:
parent
b2d0e25836
commit
3257e543a2
1 changed files with 4 additions and 4 deletions
|
@ -15,10 +15,10 @@
|
||||||
ynh_mysql_drop_db "$dbname" 2>&1 || true
|
ynh_mysql_drop_db "$dbname" 2>&1 || true
|
||||||
ynh_mysql_drop_user "$dbuser" 2>&1 || true
|
ynh_mysql_drop_user "$dbuser" 2>&1 || true
|
||||||
|
|
||||||
# Delete app directory and configurations
|
# Delete app directory and configurations using secure remove
|
||||||
sudo rm -rf "/var/www/${app}"
|
SECURE_REMOVE '/var/www/${app}'
|
||||||
sudo rm -f "/etc/php5/fpm/pool.d/${app}.conf"
|
REMOVE_NGINX_CONF
|
||||||
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
REMOVE_FPM_CONF
|
||||||
|
|
||||||
# Remove GPG key
|
# Remove GPG key
|
||||||
sudo gpg --batch --delete-key --yes Rainloop
|
sudo gpg --batch --delete-key --yes Rainloop
|
||||||
|
|
Loading…
Reference in a new issue