Corrige MINIMAX_API_KEY via environment (não env_file)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user