mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-03 15:17:58 +00:00
21 lines
392 B
Bash
Executable File
21 lines
392 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CURRENT_DIR=$(pwd)
|
|
BUILD_DIR=../build/stage/main
|
|
CONF_DIR=$BUILD_DIR/conf
|
|
|
|
set -a
|
|
source frontend.env
|
|
set +a
|
|
|
|
export JAVA_OPTS="
|
|
-Xms512m
|
|
-Xmx1024m
|
|
-Dhttp.port=$PORT
|
|
-Dconfig.file=$CONF_DIR/application.conf
|
|
-Djava.security.auth.login.config=$CURRENT_DIR/jaas.conf
|
|
-Dlogback.configurationFile=$CURRENT_DIR/logback.xml
|
|
-Dlogback.debug=true"
|
|
|
|
$BUILD_DIR/bin/datahub-frontend
|