cardano-docker/scripts/init_node_vars
2021-02-13 10:19:38 -05:00

7 lines
215 B
Bash

#!/bin/bash
export NODE_PATH=/config/${CARDANO_NETWORK}-${NODE_NAME}/
if [[ "${CARDANO_NODE_SOCKET_PATH}" == "DEFAULT" ]]; then
export CARDANO_NODE_SOCKET_PATH=${NODE_PATH}node.socket
fi
source ${NODE_PATH}VARS