mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
debug: add clinic.js for debugging
This commit is contained in:
parent
fcf30fbc00
commit
acdde9b3d7
6 changed files with 9583 additions and 269 deletions
|
@ -8,6 +8,11 @@
|
|||
echo "Waiting for prepare_backend to finish before starting the bot..."
|
||||
while ping -c1 prepare_backend &>/dev/null; do sleep 1; done;
|
||||
|
||||
echo "Starting the bot"
|
||||
cd /zeppelin/backend
|
||||
exec npm run start-bot-prod
|
||||
if [ -n "$DEBUG" ]; then
|
||||
echo "Starting bot in debug mode"
|
||||
exec npm run start-bot-prod-debug
|
||||
else
|
||||
echo "Starting bot"
|
||||
exec npm run start-bot-prod
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue