server shutdown script
authorDennis Schafroth <dennis@indexdata.com>
Tue, 4 May 2010 20:14:38 +0000 (22:14 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 4 May 2010 20:14:38 +0000 (22:14 +0200)
perf/bash/exit.sh [new file with mode: 0755]

diff --git a/perf/bash/exit.sh b/perf/bash/exit.sh
new file mode 100755 (executable)
index 0000000..d1cc0e3
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+PORT=$1
+if test -z "$PORT"; then
+       PORT=9004
+fi
+
+
+H="http://localhost:${PORT}/search.pz2"
+wget -q -O $OF.show.xml "$H?command=exit"