Download entrypoint.sh from ServiceX/Sublink: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/ServiceX/Sublink/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/ServiceX/Sublink/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/ServiceX/Sublink/resolve/main/entrypoint.sh
263 Bytes
| set -e | |
| # Start subconverter | |
| /opt/subconverter/subconverter & | |
| # Start FastAPI via uv | |
| cd /app && uv run python -m uvicorn main:app --host 127.0.0.1 --port 8000 & | |
| # Start Caddy (foreground, as PID 1 child) | |
| exec caddy run --config /etc/caddy/Caddyfile | |