mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
bashbot.rc: nohup for webhook
This commit is contained in:
parent
ec90ce820d
commit
53e936ee65
@ -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=$?
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user