Skip to content

Commit

Permalink
Merge pull request #4246 from wiz/increase-bsq-explorer-tmpfs-size
Browse files Browse the repository at this point in the history
Increase BSQ explorer TMPFS allocation to 2GB for growing datastore
  • Loading branch information
sqrrm authored May 25, 2020
2 parents 2308384 + cd2d867 commit 4a6dd93
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 @@ -31,7 +31,7 @@ ExecStart=/bin/sh __BISQ_HOME__/__BISQ_REPO_NAME__/${BISQ_ENTRYPOINT} \
ExecStop=/bin/kill -9 ${MAINPID}
Restart=on-failure

ExecStartPre=+/bin/bash -c "if [ $BISQ_DUMP_BLOCKCHAIN = true ];then mount -t tmpfs none -o size=812M,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 mount -t tmpfs none -o size=2000M,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 4a6dd93

Please sign in to comment.