mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
fix: clinic.js 0kb output files
Something in our signal handlers/code that touched signal handlers conflicted with clinic.js's signal handler code. With this commit, we don't touch signal handlers at all if DEBUG mode is enabled.
This commit is contained in:
parent
29a1161c05
commit
b60a7fb145
5 changed files with 45 additions and 30 deletions
|
@ -4,7 +4,7 @@
|
|||
# Exec is used to forward signals: https://unix.stackexchange.com/a/196053
|
||||
|
||||
cd /zeppelin/backend
|
||||
if [ -n "$DEBUG" ]; then
|
||||
if [ "$DEBUG" == "true" ]; then
|
||||
echo "DEBUG MODE: Starting bot container without starting the bot"
|
||||
exec tail -f /dev/null
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue