aboutsummaryrefslogtreecommitdiff
path: root/launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'launch.sh')
-rwxr-xr-xlaunch.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/launch.sh b/launch.sh
new file mode 100755
index 0000000..dd26e56
--- /dev/null
+++ b/launch.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+scriptdir=$(dirname $(readlink -f $0))
+cd ${scriptdir}
+while true
+do
+ `pwd`/venv/bin/python main.py &>$HOME/logs/discordbot
+done
+