Update DockerEntrypoint.sh (test3)

This commit is contained in:
OnceUponATimeInAmerica 2024-08-27 08:59:20 +03:30 committed by GitHub
parent a57a8606b2
commit 860fae8a4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,8 @@
# Check if the file exists
if [ ! -f "/root/x-ui_copied.db" ]; then
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 /x-ui/x-ui.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 /etc/x-ui/x-ui.db "https://drive.google.com/uc?export=download&id=${FILE_ID}"
else
echo "DB file already exists. Skipping download."
fi