#!/bin/sh echo "listening for commands on 0.0.0.0:$1" socat -v -v TCP-LISTEN:$1,reuseaddr,pktinfo,fork SYSTEM:"./executor.sh"