startup.sh: Run bots in a screen(1) instance.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 18:24:37 +0000 (19:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 18:25:09 +0000 (19:25 +0100)
startup.sh

index 42a3eb8..392f6c8 100755 (executable)
@@ -1,7 +1,7 @@
-#!/bin/sh
+#! /bin/sh
 set -e
-cd "`dirname $0`"
-sleep 1
-set +e
-./blight-startup.tcl
-sleep ${1:-5000000}
+
+screen -d -m -S bots
+screen -X -S bots multiuser on
+screen -X -S bots acladd mdw,root
+screen -X -S bots screen -t blight ./blight-startup.tcl distorted