Update entrypoint.sh
Browse files- entrypoint.sh +4 -4
entrypoint.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
#!/bin/
|
| 2 |
|
| 3 |
-
# Navigate to the
|
| 4 |
-
cd /
|
| 5 |
./x-ui &
|
| 6 |
|
| 7 |
-
# Start Nginx in the foreground to
|
| 8 |
nginx -g "daemon off;"
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
|
| 3 |
+
# Navigate to the manual extraction directory and run the binary directly (bypassing systemd)
|
| 4 |
+
cd /x-ui
|
| 5 |
./x-ui &
|
| 6 |
|
| 7 |
+
# Start Nginx in the foreground to satisfy Hugging Face
|
| 8 |
nginx -g "daemon off;"
|