diff options
author | Harald Musum <musum@yahooinc.com> | 2023-02-13 15:09:51 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-02-13 15:09:51 +0100 |
commit | 8aa975cd2f908e53e79df4b1983f5bf10c6c13a1 (patch) | |
tree | 6da81bace48b8a2b50eef13427978be1e4d0bc2d /config-proxy | |
parent | b4d474d1785c35a6457c14c6334e807e94aa3a1d (diff) |
Use config id with sentinel suffix for config sentinel
This will allow us to simplify config model code
Diffstat (limited to 'config-proxy')
-rwxr-xr-x | config-proxy/src/main/sh/vespa-config-ctl.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-proxy/src/main/sh/vespa-config-ctl.sh b/config-proxy/src/main/sh/vespa-config-ctl.sh index be141561b07..def6b70500c 100755 --- a/config-proxy/src/main/sh/vespa-config-ctl.sh +++ b/config-proxy/src/main/sh/vespa-config-ctl.sh @@ -99,8 +99,8 @@ mkdir -p "$VESPA_LOG_CONTROL_DIR" hname=$(vespa-print-default hostname) -CONFIG_ID="hosts/$hname" -export CONFIG_ID +SENTINEL_CONFIG_ID="hosts/$hname/sentinel" +export SENTINEL_CONFIG_ID export MALLOC_ARENA_MAX=1 #Does not need fast allocation export LD_LIBRARY_PATH="${VESPA_HOME}/lib64" @@ -164,7 +164,7 @@ case $1 in export VESPA_SERVICE_NAME vespa-runserver -s config-sentinel -r 10 -p $P_SENTINEL -- \ - sbin/vespa-config-sentinel -c "$CONFIG_ID" + sbin/vespa-config-sentinel -c "$SENTINEL_CONFIG_ID" ;; stop) |