From ad473748f2d41d5be051a18479ae72b2bc4aa2ab Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 1 Sep 2012 19:24:37 +0100 Subject: [PATCH] startup.sh: Run bots in a screen(1) instance. --- startup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/startup.sh b/startup.sh index 42a3eb8..392f6c8 100755 --- a/startup.sh +++ b/startup.sh @@ -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 -- 2.11.0