Skip to content

Commit

Permalink
Merge pull request #7318 from runbtc/increase-tmpfs-size
Browse files Browse the repository at this point in the history
Increase tmpfs size for dumping Bisq blockchain data
  • Loading branch information
alejandrogarcia83 authored Dec 10, 2024
2 parents 8ae9a39 + bfbb419 commit 3e526c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seednode/bisq.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e526c7

Please sign in to comment.