Download start.sh from ManiAz09/xray2: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/ManiAz09/xray2/resolve/main/start.sh
- Command line
-
hf download hf://spaces/ManiAz09/xray2/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/ManiAz09/xray2/resolve/main/start.sh
216 Bytes
| set -e | |
| # Change port to 7860 | |
| /usr/bin/x-ui setting -port 7860 | |
| # Start 3x-ui | |
| /usr/bin/x-ui start | |
| echo "3x-ui is running on port 7860." | |
| # Keep the container alive | |
| tail -f /var/log/x-ui/*.log |