diff options
author | tv <tv@vix> | 2010-02-02 03:52:07 +0100 |
---|---|---|
committer | tv <tv@vix> | 2010-02-02 03:52:07 +0100 |
commit | 5160b7d9d657d637f3c135d4b8bb9bf31cfd4ce7 (patch) | |
tree | 5001d73aced934cd450b36e5a26bc35dc79e7d4e | |
parent | 7740117825f62a763be27a4656669d4a3debb6e0 (diff) |
Added `htgend' wrapper for `htgen.sh'
-rwxr-xr-x | htgend | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#! /bin/sh +set -euf +HTGEN_PROG="${HTGEN_SH-$(dirname "$(readlink -f "$0")")/htgen.sh}" +HTGEN_HOST="${HTGEN_HOST-0}" +HTGEN_PORT="${HTGEN_PORT-42380}" +TCPSERVER_OPTS='-c 423 -t 2 -D' +exec tcpserver $TCPSERVER_OPTS "$HTGEN_HOST" "$HTGEN_PORT" "$HTGEN_PROG" |