1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00
simpsh-httpd/start-socat.sh
2017-08-25 16:09:25 +02:00

6 lines
128 B
Bash

#! /bin/bash
. ./config.sh
echo "Listening at Port: $PORT"
socat TCP-LISTEN:$PORT,reuseaddr,fork SYSTEM:"./main.sh" || exit 1