From 0868ce89a856d6fead3bb768822afc87c6f2e1b2 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 2 Aug 2020 02:40:36 +0900 Subject: [PATCH] Don't use `kill -9` to restart seednodes now that SIGTERM is handled Now that we can gracefully restart from #4047 --- seednode/bisq.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seednode/bisq.service b/seednode/bisq.service index bda7fe97993..ac403d0fbf0 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 -9 ${MAINPID} +ExecStop=/bin/kill ${MAINPID} 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"