bashbot.rc: nohup for webhook

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-03-03 09:05:16 +01:00
parent ec90ce820d
commit 53e936ee65
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
# #
# tested on: ubuntu, opensuse, debian # tested on: ubuntu, opensuse, debian
# #
#### $$VERSION$$ v1.45-dev-65-g859ce92 #### $$VERSION$$ v1.45-dev-66-gec90ce8
# shellcheck disable=SC2009 # shellcheck disable=SC2009
# shellcheck disable=SC2181 # shellcheck disable=SC2181
# shellcheck disable=SC2250 # shellcheck disable=SC2250
@ -57,7 +57,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
'starthook') 'starthook')
$runcmd "$webhook $mode" # >/dev/null 2>&1 </dev/null $runcmd "nohup $webhook $mode &>>${bashbotdir}/logs/WEBHOOK.log" # >/dev/null 2>&1 </dev/null
sleep 1 sleep 1
$0 status $0 status
RETVAL=$? RETVAL=$?

View File

@ -98,5 +98,5 @@ webhook updates only over secure TLS connections with a valid SSL certificate ch
`socat` looks like a tool to listen for Telegram updates from bash scripts, let's see ... `socat` looks like a tool to listen for Telegram updates from bash scripts, let's see ...
#### $$VERSION$$ v1.45-dev-65-g859ce92 #### $$VERSION$$ v1.45-dev-66-gec90ce8