From 254ae2cc10653e9be46ac7758c498c7d27e6af94 Mon Sep 17 00:00:00 2001 From: Etienne Napoleone Date: Mon, 15 Oct 2018 14:48:11 +0700 Subject: [PATCH 1/2] remove bash debug from docker entrypoint --- docker/tomochain/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/tomochain/entrypoint.sh b/docker/tomochain/entrypoint.sh index 4c5fcfb760..780a57b5f8 100755 --- a/docker/tomochain/entrypoint.sh +++ b/docker/tomochain/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/sh # vars from docker env # - IDENTITY (default to empty) From 72992136e2c1e3dcd64c29b95c4db5a10c7f9443 Mon Sep 17 00:00:00 2001 From: Etienne Napoleone Date: Mon, 15 Oct 2018 14:57:26 +0700 Subject: [PATCH 2/2] keep the debug only for the last command of the entrypoint --- docker/tomochain/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/tomochain/entrypoint.sh b/docker/tomochain/entrypoint.sh index 780a57b5f8..b6856950e7 100755 --- a/docker/tomochain/entrypoint.sh +++ b/docker/tomochain/entrypoint.sh @@ -142,6 +142,8 @@ fi # dump echo "dump: $IDENTITY $account $BOOTNODES" +set -x + exec tomo $params \ --verbosity $VERBOSITY \ --datadir $DATA_DIR \