X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/blobdiff_plain/566161b7e8738ec65dc1ca5e720316865dc020b3..8de6e01b5b0e79d91838e0320cc1424d526ae729:/startup.sh?ds=sidebyside diff --git a/startup.sh b/startup.sh index 88d1200..3d31025 100755 --- a/startup.sh +++ b/startup.sh @@ -1,7 +1,7 @@ -#!/bin/sh +#! /bin/sh set -e -cd "`dirname $0`" -sleep 1 -set +e -HOME=. tclsh8.2 -sleep ${1:-5000000} + +screen -d -m -S bots +screen -X -S bots \ + screen -t blight \ + sh -c 'sudo -u ircbot ./blight-startup.tcl distorted; sleep 60'