summaryrefslogtreecommitdiffstats
path: root/htgend
diff options
context:
space:
mode:
Diffstat (limited to 'htgend')
-rwxr-xr-xhtgend3
1 files changed, 2 insertions, 1 deletions
diff --git a/htgend b/htgend
index 9f3ba6f..0e4c668 100755
--- a/htgend
+++ b/htgend
@@ -1,7 +1,8 @@
#! /bin/sh
set -euf
HTGEN_PROG="${HTGEN_SH-$(dirname "$(readlink -f "$0")")/htgen.sh}"
-HTGEN_HOST="${HTGEN_HOST-0}"
+HTGEN_HOST="${HTGEN_HOST-0.0.0.0}"
HTGEN_PORT="${HTGEN_PORT-42380}"
TCPSERVER_OPTS='-c 423 -t 2 -D'
+echo "#### htgend $HTGEN_HOST:$HTGEN_PORT" >&2
exec tcpserver $TCPSERVER_OPTS "$HTGEN_HOST" "$HTGEN_PORT" "$HTGEN_PROG"