Files
bilbobagginshire/ACTIVATE.sh

35 lines
900 B
Bash
Executable File

#!/bin/bash
# Activate Bilbo Baggins Profile
# FIXED: Starts telegram bot + churn (not just churn)
echo "Activating Bilbo Baggins..."
export HOME=/root/wizards/bilbobagginshire
export HERMES_HOME=/root/wizards/bilbobagginshire/home
export BILBO_MODE=active
cd /root/wizards/bilbobagginshire
source home/.env
# Kill existing bilbo processes cleanly
pkill -f bilbo_telegram || true
pkill -f bilbo_churn || true
sleep 1
# Start Telegram bot FIRST (the real communication channel)
echo "Starting Telegram bot (real Ollama intelligence)..."
nohup python3 home/bilbo_telegram.py > /tmp/bilbo_telegram.log 2>&1 &
echo " PID: $!"
# Start churn (background activity)
echo "Starting churn..."
nohup python3 home/bilbo_churn.py > /tmp/bilbo_churn.log 2>&1 &
echo " PID: $!"
echo ""
echo "Bilbo Status:"
echo " Telegram Bot: RUNNING (real Ollama)"
echo " Churn: RUNNING"
echo ""
echo "Bilbo is back."