helpinfos: Advertise the HTTPS URL for help.
[ircbot] / startup.sh
index 42a3eb8..3d31025 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 \
+  screen -t blight \
+  sh -c 'sudo -u ircbot ./blight-startup.tcl distorted; sleep 60'