From eb5d806c35f96a52e1d1e0169f40cd998d8a3c7c Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 11 Mar 2021 08:29:48 +0100 Subject: [PATCH] Redirect stderr to logfile --- scripts/simapp/start.sh | 2 +- scripts/wasmd/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/simapp/start.sh b/scripts/simapp/start.sh index 7ee2d668..73d2ed02 100755 --- a/scripts/simapp/start.sh +++ b/scripts/simapp/start.sh @@ -29,7 +29,7 @@ docker run --rm \ --mount type=volume,source=simapp_data,target=/root \ "$REPOSITORY:$VERSION" \ /template/run_simd.sh \ - >"$SIMD_LOGFILE" & + >"$SIMD_LOGFILE" 2>&1 & echo "simd running on http://localhost:$TENDERMINT_PORT_HOST and logging into $SIMD_LOGFILE" diff --git a/scripts/wasmd/start.sh b/scripts/wasmd/start.sh index e9e4fbd2..ca1b0097 100755 --- a/scripts/wasmd/start.sh +++ b/scripts/wasmd/start.sh @@ -30,7 +30,7 @@ docker run --rm \ --mount type=volume,source=wasmd_data,target=/root \ "$REPOSITORY:$VERSION" \ ./run_wasmd.sh /template \ - >"$WASMD_LOGFILE" & + >"$WASMD_LOGFILE" 2>&1 & echo "wasmd running and logging into $WASMD_LOGFILE"