3
0
Fork 0
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:
Dragory 2023-04-04 20:44:13 +03:00
parent fcf30fbc00
commit acdde9b3d7
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
6 changed files with 9583 additions and 269 deletions

View file

@ -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