ManiAz09 commited on
Commit
5be8bdc
·
verified ·
1 Parent(s): 0f4127c

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +4 -4
entrypoint.sh CHANGED
@@ -1,8 +1,8 @@
1
- #!/bin/sh
2
 
3
- # Navigate to the correct directory and start 3x-ui in the background
4
- cd /app
5
  ./x-ui &
6
 
7
- # Start Nginx in the foreground to keep the Hugging Face container alive
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;"