Download entrypoint.sh from ManiAz09/xray2: direct link, hf CLI and curl.
- Browser
- Download file 201 Bytes
-
https://huggingface.co/spaces/ManiAz09/xray2/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/ManiAz09/xray2/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/ManiAz09/xray2/resolve/main/entrypoint.sh
201 Bytes
| # Navigate to the correct directory and start 3x-ui in the background | |
| cd /app | |
| ./x-ui & | |
| # Start Nginx in the foreground to keep the Hugging Face container alive | |
| nginx -g "daemon off;" |