changeset 9:2f5eee7166cc

Update run.sh for new features
author Lewin Bormann <lbo@spheniscida.de>
date Fri, 09 Dec 2016 20:36:01 +0100
parents 1b530ee902dd
children 5ea4f6223d3f
files scripts/run.sh
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/run.sh	Wed Dec 07 21:26:47 2016 +0100
+++ b/scripts/run.sh	Fri Dec 09 20:36:01 2016 +0100
@@ -1,6 +1,10 @@
 #!/bin/bash
 
-# Contains secret token ($TOKEN) and name ($NAME)
+# Contains deployment-specific variables, like secret token ($TOKEN),
+# webhook token ($HOOKTOKEN) and name ($NAME)
 source token.txt
 
-../goe_bot --token=$TOKEN $@ > bot.log 2>&1
+./goe_bot --token=$TOKEN \
+    --hook_token=$HOOKTOKEN \
+    --myurl=$HOOKURL \
+    $@ > bot.log 2>&1