We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e3738 commit e563da2Copy full SHA for e563da2
bin/run-node
@@ -123,6 +123,13 @@ elif [[ ${RESTORE_SNAPSHOT} == true ]]; then
123
echo "Detected populated ${CARDANO_DATABASE_PATH}... skipping restore"
124
fi
125
126
+cd ${CARDANO_DATABASE_PATH}
127
+
128
+if [[ ${SOCAT_PORT:-0} != 0 ]]; then
129
+ echo "Port ${SOCAT_PORT} configured for socat... launching in background"
130
+ nohup socat TCP-LISTEN:${SOCAT_PORT},fork UNIX-CLIENT:${CARDANO_SOCKET_PATH},ignoreeof &
131
+fi
132
133
if [[ ${CARDANO_BLOCK_PRODUCER} == true ]]; then
134
effopts=(--config ${CARDANO_CONFIG} \
135
--database-path ${CARDANO_DATABASE_PATH} \
0 commit comments