From 2b4c3a58a7fd21d6d9e8fc473e971a5746421f00 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 13 Jan 2022 12:59:16 +0900 Subject: [PATCH] Add 5 second delay when stopping seednode service --- seednode/bisq.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seednode/bisq.service b/seednode/bisq.service index ac403d0fbf0..39b3819e5c7 100644 --- a/seednode/bisq.service +++ b/seednode/bisq.service @@ -28,7 +28,7 @@ ExecStart=/bin/sh __BISQ_HOME__/__BISQ_REPO_NAME__/${BISQ_ENTRYPOINT} \ --dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN} \ --dumpStatistics=${BISQ_DUMP_STATISTICS} \ -ExecStop=/bin/kill ${MAINPID} +ExecStop=/bin/kill ${MAINPID} ; sleep 5 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"