diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2017-08-20 18:32:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2017-08-20 18:32:17 +0200 |
| commit | e6f1395f803110c82fe06632c7e1a106e35fc51b (patch) | |
| tree | 7ab56359fa36e47de5ba642fe09470188566a54b | |
| parent | 147980d0cf645345c5daca8cf0a2ac2787aff455 (diff) | |
| download | geldschieberbot-e6f1395f803110c82fe06632c7e1a106e35fc51b.tar.gz geldschieberbot-e6f1395f803110c82fe06632c7e1a106e35fc51b.zip | |
source config.sh in run.sh
| -rw-r--r-- | Readme.md | 2 | ||||
| -rwxr-xr-x | run.sh | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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! @@ -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 |
