diff --git a/bashbot.rc b/bashbot.rc index 7044f46..95648ff 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -5,7 +5,7 @@ # # tested on: ubuntu, opensuse, debian # -#### $$VERSION$$ v1.25-dev-9-g14fa2c7 +#### $$VERSION$$ v1.25-dev-51-gb2eecc5 # shellcheck disable=SC2009 # shellcheck disable=SC2181 @@ -34,8 +34,12 @@ runas="nobody" # runcmd="runuser ${runas} -s /bin/bash -c " # runasuser with *runuser* # edit the values of the following lines to fit your config: -start="cd /usr/local/telegram-bot-bash; /usr/local/telegram-bot-bash/bashbot.sh" # location of your bashbot.sh script -name='' # your bot name as given to botfather, e.g. mysomething_bot +# your bot installation dir +bashbot="cd /usr/local/telegram-bot-bash; /usr/local/telegram-bot-bash/bashbot.sh" +# your bot name as given to botfather, e.g. mysomething_bot +name="" +# set additionl parameter, e.g. debug +mode="" # END Configuration ####################### @@ -45,12 +49,12 @@ name='' # your bot name as given to botfather, e.g. mysomething_bot case "$1" in 'start') # shellcheck disable=SC2250 - $runcmd "$start start" # >/dev/null 2>&1 /dev/null 2>&1