fix config opts

This commit is contained in:
Pascal Vizeli 2017-03-24 00:48:19 +01:00
parent dd591281a7
commit 67ff696d6b

View File

@ -46,7 +46,7 @@ fi
# runtime value # runtime value
if [ -f $CONFIG_PATH ] if [ -f $CONFIG_PATH ]
then then
ENDPOINT=$(jq --raw-output ".apiEndpoint // empty" $CONFIG_PATH) ENDPOINT=$(jq --raw-output ".endpoint // empty" $CONFIG_PATH)
CONFIG_HOSTNAME=$(jq --raw-output ".hostname // empty" $CONFIG_PATH) CONFIG_HOSTNAME=$(jq --raw-output ".hostname // empty" $CONFIG_PATH)
PERSISTENT_LOGGING=$(jq --raw-output ".persistentLogging // empty" $CONFIG_PATH) PERSISTENT_LOGGING=$(jq --raw-output ".persistentLogging // empty" $CONFIG_PATH)
if [ -z "$PERSISTENT_LOGGING" ]; then if [ -z "$PERSISTENT_LOGGING" ]; then