ManiAz09 commited on
Commit
7e2f086
·
verified ·
1 Parent(s): 5e278c1

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +13 -0
start.sh ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Change port to 7860
5
+ /usr/bin/x-ui setting -port 7860
6
+
7
+ # Start 3x-ui
8
+ /usr/bin/x-ui start
9
+
10
+ echo "3x-ui is running on port 7860."
11
+
12
+ # Keep the container alive
13
+ tail -f /var/log/x-ui/*.log