From e6f1395f803110c82fe06632c7e1a106e35fc51b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 20 Aug 2017 18:32:17 +0200 Subject: source config.sh in run.sh --- Readme.md | 2 +- run.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 768f4cd..7ef7dc5 100644 --- a/Readme.md +++ b/Readme.md @@ -18,7 +18,7 @@ Copy config.sh.sample to config.sh and edit it to match your environment. ## Usage If you have your config.sh in place you can just run -`config.sh && run.sh` +`./run.sh` and your bot should be up and serving your needs. Happy Geldschieben! diff --git a/run.sh b/run.sh index 21a4a50..5876ded 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Source config.sh if it is available +[[ -f config.sh ]] && source config.sh + # Create dir for all your received messages mkdir msgs -- cgit v1.2.3