Corrige MINIMAX_API_KEY via environment (não env_file)

This commit is contained in:
2026-06-09 10:53:39 +00:00
parent f6b8934129
commit fc0b44312c
3 changed files with 82 additions and 6 deletions
+5 -4
View File
@@ -1,10 +1,11 @@
#!/bin/bash
# Tenta limpar processos conflitantes no host se tiver acesso privilegiado
# Kills conflicting host processes (chroot lets us reach host namespace)
if [ -d "/host_root" ]; then
echo "Limpando processos conflitantes no HOST..."
chroot /host_root /bin/bash -c "pkill -9 -f telegram_bot.js" || true
chroot /host_root /bin/bash -c "pkill -9 -f bot_logic.py" || true
chroot /host_root /bin/bash -c "pkill -9 -f bridge_telegram.py" || true
chroot /host_root /bin/bash -c "pkill -9 -f bridge_telegram.py" 2>/dev/null || true
chroot /host_root /bin/bash -c "pkill -9 -f BotVPS.*main.py" 2>/dev/null || true
chroot /host_root /bin/bash -c "pkill -9 -f watchdog.py" 2>/dev/null || true
sleep 3
fi
# Inicia a ponte do Telegram em background