From bfbb41958d61090bd159b966e92b808844afb73e Mon Sep 17 00:00:00 2001 From: runbtc <143069848+runbtc@users.noreply.github.com> Date: Sun, 8 Dec 2024 10:59:25 -0800 Subject: [PATCH] Increase tmpfs size for dumping Bisq blockchain data Currently, it requires about 5.2G of space. Therefore, increase it to allow for future growth. However, hopefully this becomes irrelevant soon with the changes in bisq-network/mempool#13. --- seednode/bisq.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seednode/bisq.service b/seednode/bisq.service index 2a916deb09..3a16c4f7a0 100644 --- a/seednode/bisq.service +++ b/seednode/bisq.service @@ -35,7 +35,7 @@ ExecStart=/bin/bash __BISQ_HOME__/__BISQ_REPO_NAME__/${BISQ_ENTRYPOINT} \ ExecStop=/bin/kill ${MAINPID} ; sleep 5 Restart=on-failure -ExecStartPre=+/bin/bash -c "if [ $BISQ_DUMP_BLOCKCHAIN = true ];then mkdir -p $BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY/db/json && mount -t tmpfs none -o size=5000M,uid=bisq,gid=bisq $BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY/db/json;else true;fi" +ExecStartPre=+/bin/bash -c "if [ $BISQ_DUMP_BLOCKCHAIN = true ];then mkdir -p $BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY/db/json && mount -t tmpfs none -o size=8000M,uid=bisq,gid=bisq $BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY/db/json;else true;fi" ExecStopPost=+/bin/bash -c "if [ $BISQ_DUMP_BLOCKCHAIN = true ];then umount $BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY/db/json;else true;fi" User=bisq