소스 검색

don't block

Chris Vogel 1 년 전
부모
커밋
aecc742095
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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