diff --git a/tempo/reth/tempo-testnet-reth-archive-trace.yml b/tempo/reth/tempo-testnet-reth-archive-trace.yml index d6cf4f50..451213f3 100644 --- a/tempo/reth/tempo-testnet-reth-archive-trace.yml +++ b/tempo/reth/tempo-testnet-reth-archive-trace.yml @@ -35,7 +35,7 @@ services: image: ${TEMPO_RETH_IMAGE:-ghcr.io/tempoxyz/tempo}:${TEMPO_CONSENSUS_KEYGEN_VERSION:-1.9.1} entrypoint: [/bin/sh, -c] command: - - '[ ! -f /secrets/validator_key.json ] && tempo consensus generate-signing-key --output /secrets/validator_key.json' + - 'if [ ! -f /secrets/validator_key.json ]; then tempo consensus generate-signing-key --output /secrets/validator_key.json; fi' restart: no networks: - chains diff --git a/tempo/reth/tempo-testnet-reth-pruned-trace.yml b/tempo/reth/tempo-testnet-reth-pruned-trace.yml index 636f84e7..1ba93655 100644 --- a/tempo/reth/tempo-testnet-reth-pruned-trace.yml +++ b/tempo/reth/tempo-testnet-reth-pruned-trace.yml @@ -35,7 +35,7 @@ services: image: ${TEMPO_RETH_IMAGE:-ghcr.io/tempoxyz/tempo}:${TEMPO_CONSENSUS_KEYGEN_VERSION:-1.9.1} entrypoint: [/bin/sh, -c] command: - - '[ ! -f /secrets/validator_key.json ] && tempo consensus generate-signing-key --output /secrets/validator_key.json' + - 'if [ ! -f /secrets/validator_key.json ]; then tempo consensus generate-signing-key --output /secrets/validator_key.json; fi' restart: no networks: - chains