Add GraphDB Authorization flags

This commit is contained in:
Tom Wiesing 2020-10-08 17:11:29 +02:00
parent 8dfdbec90a
commit a76a4d3a0d
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
5 changed files with 21 additions and 7 deletions

View file

@ -196,6 +196,17 @@ if ! is_valid_file "$GLOBAL_AUTHORIZED_KEYS_FILE"; then
exit 1;
fi;
# GRAPHDB_ADMIN_PASSWORD should be the graphdb admin
if [ -z "$GRAPHDB_ADMIN_PASSWORD" ]; then
log_error "Variable 'GRAPHDB_ADMIN_PASSWORD' is not set. ";
log_info "You might want to create this file to get rid of the error message. "
log_info "Please verify that it is set correctly in '.env'";
exit 1;
fi;
# flags for graphdb authorization
GRAPHDB_AUTH_FLAGS="--user $(printf "admin:%s" "$GRAPHDB_ADMIN_PASSWORD")"
# paths to composer things
DEPLOY_WEB_DIR="$DEPLOY_ROOT/core/web"
DEPLOY_SELF_DIR="$DEPLOY_ROOT/core/self"