mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
update start script
This commit is contained in:
parent
3d09b989b3
commit
2b6b6c62c1
@ -9,10 +9,10 @@ PROJECT_ROOT=$SCRIPT_DIR/../../
|
||||
|
||||
# Load .env or .env.dist if not present
|
||||
set -o allexport
|
||||
if [ -f "$SCRIPT_DIR.env"]; then
|
||||
source $SCRIPT_DIR.env
|
||||
if [ -f "$SCRIPT_DIR/.env"]; then
|
||||
source $SCRIPT_DIR/.env
|
||||
else
|
||||
source $SCRIPT_DIR.env.dist
|
||||
source $SCRIPT_DIR/.env.dist
|
||||
fi
|
||||
set +o allexport
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user