mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-01-31 01:28:27 +00:00
bashbot.rc: webhook usage
This commit is contained in:
parent
fff79d6daf
commit
859ce92379
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
# tested on: ubuntu, opensuse, debian
|
# tested on: ubuntu, opensuse, debian
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v1.45-dev-62-g4854d0d
|
#### $$VERSION$$ v1.45-dev-64-gfff79d6
|
||||||
# shellcheck disable=SC2009
|
# shellcheck disable=SC2009
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
# shellcheck disable=SC2250
|
# shellcheck disable=SC2250
|
||||||
@ -113,7 +113,8 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%s\n" "Usage: $0 { start | stop | starthook | restart | reload | restartback | suspendback | resumeback | killback }"
|
printf "%s\n" "Usage: $0 [ start | stop | restart | starthook | stophook | restarthook ]"
|
||||||
|
printf "%s\n" " $0 [ status | restartback | suspendback | resumeback | killback ]"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -96,5 +96,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-63-ge098aee
|
#### $$VERSION$$ v1.45-dev-64-gfff79d6
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user