mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-22 22:32:41 +00:00
is not requiered anymore, add extra check for
This commit is contained in:
parent
e301c15cef
commit
dd1beaaaba
2 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$GEODATA_DIR" ]; then
|
||||
echo "ERROR: GEODATA_DIR environment variable is not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$MAX_GEODATA_DIR_WAIT" ]; then
|
||||
echo "WARNING: MAX_GEODATA_DIR_WAIT environment variable is not set, using default MAX_GEODATA_DIR_WAIT=300"
|
||||
MAX_GEODATA_DIR_WAIT=300
|
||||
fi
|
||||
|
||||
FINISH_FILE="$GEODATA_DIR/cron-job-finished.txt"
|
||||
|
||||
ELAPSED=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue