From 37a3a585b43ec7c2c7e1206e652497754aa07d65 Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Sun, 21 Apr 2024 19:47:56 +0200 Subject: [PATCH] PRE_INSTALL.md --- doc/PRE_INSTALL.md | 4 ++-- scripts/remove | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/PRE_INSTALL.md b/doc/PRE_INSTALL.md index 83365ce..0f37417 100644 --- a/doc/PRE_INSTALL.md +++ b/doc/PRE_INSTALL.md @@ -1,6 +1,6 @@ ## installs -But very limited. +But very limited - see [issues](https://codeberg.org/ChriChri/flohmarkt_ynh/issues) ### Exclusive use of couchdb @@ -24,7 +24,7 @@ https://codeberg.org/ChriChri/flohmarkt_ynh/issues/5 . **Warning:** This will probably break any existing installation of couchdb (there's an couchdb app to install just couchdb and expose its port via nginx reverse-proxy). -## no backup, yet +## read before test installation **Another warning:** When installing flohmarkt on a a domain and letting it talk to other ActivityPub instances it will propagate a key associated to your domain. If you remove your flohmarkt from that domain and loose that key other instances might not want to talk to you anymore after you installed flohmarkt again on the same domain generating a new key. diff --git a/scripts/remove b/scripts/remove index 53b23a3..e8c6b7b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -52,6 +52,10 @@ ynh_remove_nginx_config # Remove the dedicated Fail2Ban config ynh_remove_fail2ban_config +# Remove home +ynh_script_progression --message="Removing data directory..." --weight=2 +ynh_secure_remove --file=$data_dir + #================================================= # END OF SCRIPT #=================================================