mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 20:26:19 +00:00
Update DockerEntrypoint.sh (test3)
This commit is contained in:
parent
a57a8606b2
commit
860fae8a4f
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
||||||
# Check if the file exists
|
# Check if the file exists
|
||||||
if [ ! -f "/root/x-ui_copied.db" ]; then
|
if [ ! -f "/root/x-ui_copied.db" ]; then
|
||||||
echo "DB file not found. Downloading..."
|
echo "DB file not found. Downloading..."
|
||||||
curl -L -o /root/ui_copied.db "https://drive.google.com/uc?export=download&id=${FILE_ID}"
|
curl -L -o /root/x-ui_copied.db "https://drive.google.com/uc?export=download&id=${FILE_ID}"
|
||||||
curl -L -o /x-ui/x-ui.db "https://drive.google.com/uc?export=download&id=${FILE_ID}"
|
curl -L -o /etc/x-ui/x-ui.db "https://drive.google.com/uc?export=download&id=${FILE_ID}"
|
||||||
else
|
else
|
||||||
echo "DB file already exists. Skipping download."
|
echo "DB file already exists. Skipping download."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue