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-03-09 09:00:09 +01:00

5 lines
127 B
Bash

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