Merge branch 'main' of http://10.7.0.3:3000/Djeex/socat-proxy
This commit is contained in:
@@ -92,7 +92,7 @@ trap cleanup SIGTERM SIGINT
|
|||||||
|
|
||||||
echo "Starting socat proxy..."
|
echo "Starting socat proxy..."
|
||||||
# Start socat with verbose logging and redirect to stdout/stderr
|
# Start socat with verbose logging and redirect to stdout/stderr
|
||||||
if socat -d -d UNIX-LISTEN:$UNIX_SOCKET_PATH,fork,unlink-early TCP:$TARGET_HOST:$TARGET_PORT & then
|
if socat -d -d UNIX-LISTEN:$FULL_SOCKET_PATH,fork,unlink-early TCP:$TARGET_HOST:$TARGET_PORT & then
|
||||||
SOCAT_PID=$!
|
SOCAT_PID=$!
|
||||||
echo "SUCCESS: Socat started with PID: $SOCAT_PID"
|
echo "SUCCESS: Socat started with PID: $SOCAT_PID"
|
||||||
echo "Container is ready and running..."
|
echo "Container is ready and running..."
|
||||||
|
Reference in New Issue
Block a user