mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-25 00:37:34 +00:00
bashbot.rc: fix runuser
This commit is contained in:
parent
0a296eaaa1
commit
fdb2b3ac7b
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
# tested on: ubuntu, opensuse, debian
|
# tested on: ubuntu, opensuse, debian
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v1.45-dev-72-g7500ca0
|
#### $$VERSION$$ v1.45-dev-74-g0a296ea
|
||||||
# shellcheck disable=SC2009
|
# shellcheck disable=SC2009
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
# shellcheck disable=SC2250
|
# shellcheck disable=SC2250
|
||||||
@ -28,15 +28,15 @@ runcmd="echo Dry run:" # not activated until you edit lines below
|
|||||||
# Configuration Section
|
# Configuration Section
|
||||||
|
|
||||||
# edit the next line to fit the user you want to run bashbot, e.g. nobody:
|
# 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
|
# uncomment one of the example lines to fit your system
|
||||||
# runcmd="su ${runas} -s /bin/bash -c " # runasuser with *su*
|
# 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:
|
# edit the values of the following lines to fit your config:
|
||||||
# your bot name as given to botfather, e.g. mysomething_bot
|
# your bot name as given to botfather, e.g. mysomething_bot
|
||||||
name="GnadelTest_bot"
|
name=""
|
||||||
# your bot installation dir
|
# your bot installation dir
|
||||||
bashbotdir="/usr/local/github/telegram-bot-bash-develop/DIST/telegram-bot-bash"
|
bashbotdir="/usr/local/github/telegram-bot-bash-develop/DIST/telegram-bot-bash"
|
||||||
databotdir="${bashbotdir}/data-bot-bash"
|
databotdir="${bashbotdir}/data-bot-bash"
|
||||||
|
Loading…
Reference in New Issue
Block a user