summaryrefslogtreecommitdiffstats
path: root/noise-server
diff options
context:
space:
mode:
Diffstat (limited to 'noise-server')
-rwxr-xr-xnoise-server7
1 files changed, 7 insertions, 0 deletions
diff --git a/noise-server b/noise-server
new file mode 100755
index 00000000..defe2f5b
--- /dev/null
+++ b/noise-server
@@ -0,0 +1,7 @@
+#! /bin/sh
+qname="`readlink -f "$0"`"
+dirname="`dirname "$qname"`"
+if test -d "$dirname/modules" ; then
+ export NOISE_PATH="${NOISE_PATH+$NOISE_PATH:}$dirname/modules"
+fi
+exec tcpserver -c 423 -t 2 -D 0.0.0.0 42380 "$dirname/noise"