Skip to content

Commit 53d0b96

Browse files
committed
Fix configs for contracts placement
1 parent ac03566 commit 53d0b96

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nodebalancer/deploy/deploy.bash

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ PREFIX_CRIT="${C_RED}[CRIT]${C_RESET} [$(date +%d-%m\ %T)]"
1717
AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION:-us-east-1}"
1818
APP_DIR="${APP_DIR:-/home/ubuntu/api}"
1919
SECRETS_DIR="${SECRETS_DIR:-/home/ubuntu/nodebalancer-secrets}"
20-
CONFIGS_DIR="${CONFIGS_DIR:-/home/ubuntu/.nodebalancer}"
21-
NB_CONTRACTS_CONFIG_PATH="${CONFIGS_DIR}/contractsConfig.json"
20+
NB_CONTRACTS_CONFIG_PATH="${SECRETS_DIR}/contractsConfig.json"
2221
PARAMETERS_ENV_PATH="${SECRETS_DIR}/app.env"
2322
SCRIPT_DIR="$(realpath $(dirname $0))"
2423

nodebalancer/deploy/nodebalancer.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ExecStart=/home/ubuntu/api/nodebalancer/nodebalancer server \
1414
--port 8544 \
1515
--healthcheck \
1616
--config /home/ubuntu/.nodebalancer/config.json \
17-
--contracts-config /home/ubuntu/.nodebalancer/contractsConfig.json
17+
--contracts-config /home/ubuntu/nodebalancer-secrets/contractsConfig.json
1818
SyslogIdentifier=nodebalancer
1919

2020
[Install]

0 commit comments

Comments
 (0)