Spaces:
Paused
Paused
Download startup.sh from Janady07/megamind-quebec: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/Janady07/megamind-quebec/resolve/main/startup.sh
- Command line
-
hf download hf://spaces/Janady07/megamind-quebec/startup.sh
-
curl -L -o startup.sh https://huggingface.co/spaces/Janady07/megamind-quebec/resolve/main/startup.sh
493 Bytes
| set -e | |
| echo "=== MEGAMIND QUEBEC Starting ===" | |
| # Start Tailscale daemon in background | |
| if [ -n "$TS_AUTHKEY" ]; then | |
| echo "Starting Tailscale..." | |
| tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock & | |
| sleep 3 | |
| tailscale up --authkey=$TS_AUTHKEY --hostname=megamind-quebec || true | |
| echo "Tailscale connected" | |
| fi | |
| # Run megamind | |
| echo "Starting MEGAMIND brain..." | |
| exec /app/megamind -config /app/config.json -port 7860 | |