From 5160b7d9d657d637f3c135d4b8bb9bf31cfd4ce7 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 2 Feb 2010 03:52:07 +0100 Subject: Added `htgend' wrapper for `htgen.sh' --- htgend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 htgend (limited to 'htgend') diff --git a/htgend b/htgend new file mode 100755 index 0000000..9f3ba6f --- /dev/null +++ b/htgend @@ -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" -- cgit v1.2.3