mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 18:56:59 +01:00
Add 5 second delay when stopping seednode service
This commit is contained in:
parent
808c3ad9d9
commit
2b4c3a58a7
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ ExecStart=/bin/sh __BISQ_HOME__/__BISQ_REPO_NAME__/${BISQ_ENTRYPOINT} \
|
||||||
--dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN} \
|
--dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN} \
|
||||||
--dumpStatistics=${BISQ_DUMP_STATISTICS} \
|
--dumpStatistics=${BISQ_DUMP_STATISTICS} \
|
||||||
|
|
||||||
ExecStop=/bin/kill ${MAINPID}
|
ExecStop=/bin/kill ${MAINPID} ; sleep 5
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
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"
|
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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue