Chris Vogel před 1 rokem
rodič
revize
aecc742095
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      scripts/install

+ 2 - 2
scripts/install

@@ -90,8 +90,8 @@ ynh_add_config --template="../conf/flohmarkt.conf" --destination="$install_dir/$
     cd "$install_dir/$app"
     # initialize_couchdb seems to re-try on connect problems endlessly blocking the yunohost api
     # @@ todo take care of this
-    # 
-    python3 initialize_couchdb.py $password_couchdb_admin $password_couchdb_flohmarkt
+    # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/13
+    timeout 20 python3 initialize_couchdb.py $password_couchdb_admin $password_couchdb_flohmarkt
 )
 
 # SETUP LOGROTATE