fix(installer): move REPO_DIR before ENV_FILE to fix unbound variable
This commit is contained in:
parent
3589cfd280
commit
b2e1732161
1 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,11 @@ header() { echo -e "\n${BOLD}${CYAN}$1${NC}"; }
|
|||
# SERVICE USER
|
||||
# ============================================================
|
||||
SVC_USER="nextwks"
|
||||
|
||||
# ============================================================
|
||||
# PATHS
|
||||
# ============================================================
|
||||
REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
ENV_FILE="${REPO_DIR}/.env"
|
||||
AUTHELIA_DIR="/opt/authelia"
|
||||
AUTHELIA_CONFIG="${AUTHELIA_DIR}/configuration.yml"
|
||||
|
|
|
|||
Loading…
Reference in a new issue