From: Mark Wooding Date: Sat, 1 Sep 2012 18:24:37 +0000 (+0100) Subject: startup.sh: Run bots in a screen(1) instance. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/commitdiff_plain/ad473748f2d41d5be051a18479ae72b2bc4aa2ab?ds=sidebyside startup.sh: Run bots in a screen(1) instance. --- 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