Require the hostname as well.
This commit is contained in:
parent
45c77f98aa
commit
2d5a54f855
@ -22,7 +22,7 @@ else
|
|||||||
|
|
||||||
echo -n "$JWT" > /opt/testnet/build/el/jwtsecret
|
echo -n "$JWT" > /opt/testnet/build/el/jwtsecret
|
||||||
|
|
||||||
if [ "$CERC_RUN_STATEDIFF" == "detect" ]; then
|
if [ "$CERC_RUN_STATEDIFF" == "detect" ] && [ -n "$CERC_STATEDIFF_DB_HOST" ]; then
|
||||||
if [ -n "$(dig $CERC_STATEDIFF_DB_HOST +short)" ]; then
|
if [ -n "$(dig $CERC_STATEDIFF_DB_HOST +short)" ]; then
|
||||||
echo "Statediff DB at $CERC_STATEDIFF_DB_HOST"
|
echo "Statediff DB at $CERC_STATEDIFF_DB_HOST"
|
||||||
CERC_RUN_STATEDIFF="true"
|
CERC_RUN_STATEDIFF="true"
|
||||||
|
Loading…
Reference in New Issue
Block a user