bashbot.rc: fix runuser

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-03-03 18:44:16 +01:00
parent 0a296eaaa1
commit fdb2b3ac7b

View File

@ -5,7 +5,7 @@
#
# tested on: ubuntu, opensuse, debian
#
#### $$VERSION$$ v1.45-dev-72-g7500ca0
#### $$VERSION$$ v1.45-dev-74-g0a296ea
# shellcheck disable=SC2009
# shellcheck disable=SC2181
# shellcheck disable=SC2250
@ -28,15 +28,15 @@ runcmd="echo Dry run:" # not activated until you edit lines below
# Configuration Section
# edit the next line to fit the user you want to run bashbot, e.g. nobody:
runas="www"
runas="nobody"
# uncomment one of the example lines to fit your system
# runcmd="su ${runas} -s /bin/bash -c " # runasuser with *su*
runcmd="/usr/sbin/runuser ${runas} -s /bin/bash -c " # runasuser with *runuser*
# runcmd="/usr/sbin/runuser ${runas} -s /bin/bash -c " # runasuser with *runuser*
# edit the values of the following lines to fit your config:
# your bot name as given to botfather, e.g. mysomething_bot
name="GnadelTest_bot"
name=""
# your bot installation dir
bashbotdir="/usr/local/github/telegram-bot-bash-develop/DIST/telegram-bot-bash"
databotdir="${bashbotdir}/data-bot-bash"