| 1234567891011121314 |
- #!/bin/bash
- echo "Starting Celery in background..."
- celery_log="/opt/maxkb-app/logs/celery.log"
- touch "$celery_log"
- nohup python main.py dev celery >> "$celery_log" 2>&1 &
- echo "Celery started in background, PID: $!"
- echo "Waiting for services to initialize..."
- sleep 5
- echo "Starting Web server..."
- python main.py dev web
|