Skip to content

Commit d3588fd

Browse files
Update comment
1 parent 87565f2 commit d3588fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/_common_setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ set -e
66

77
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88

9-
# For multi-worker Gunicorn setups; requires PROMETHEUS_MULTIPROC_DIR set before startup,
10-
# usually from the config file mounted via cloud-automation.
119
if [ -f "/src/gen3-workflow-config.yaml" ]; then
10+
# For multi-worker Gunicorn setups; requires PROMETHEUS_MULTIPROC_DIR to be set before startup,
11+
# here we assume the config file is mounted at /src via cloud-automation.
1212
PROMETHEUS_MULTIPROC_DIR=$(grep 'PROMETHEUS_MULTIPROC_DIR:' /src/gen3-workflow-config.yaml | awk -F': ' '{print $2}' | tr -d '"')
1313
else
1414
PROMETHEUS_MULTIPROC_DIR=""

0 commit comments

Comments
 (0)