Chris Vogel před 1 rokem
rodič
revize
37a3a585b4
2 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. 2 2
      doc/PRE_INSTALL.md
  2. 4 0
      scripts/remove

+ 2 - 2
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.
 

+ 4 - 0
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
 #=================================================