feat(installer): load .env file to persistent install config
This commit is contained in:
parent
f1270fed6f
commit
0bb792d047
2 changed files with 12 additions and 0 deletions
3
install
3
install
|
@ -93,6 +93,9 @@ EOF
|
|||
done <<< "$(grep -A1 '^# >' "$0")"
|
||||
}
|
||||
|
||||
# Load .env file if exists
|
||||
[[ -f "$SCRIPT_DIR/.env" ]] && source "$SCRIPT_DIR/.env"
|
||||
|
||||
# Configuration
|
||||
# > User used to run LibreTime.
|
||||
LIBRETIME_USER=${LIBRETIME_USER:-"www-data"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue