|
|
|
@ -24,6 +24,19 @@ else
|
|
|
|
|
RUN_CMD="$RUN_CMD -db-source '$LENMONITOR_DB_SOURCE'"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# LENMONITOR_DB_MAX_OPEN_CONNS
|
|
|
|
|
if [[ -n "$LENMONITOR_DB_MAX_OPEN_CONNS" ]]; then
|
|
|
|
|
RUN_CMD="$RUN_CMD -db-max-open-conns '$LENMONITOR_DB_MAX_OPEN_CONNS'"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# LENMONITOR_DB_MAX_IDLE_CONNS
|
|
|
|
|
if [[ -n "$LENMONITOR_DB_MAX_IDLE_CONNS" ]]; then
|
|
|
|
|
RUN_CMD="$RUN_CMD -db-max-idle-conns '$LENMONITOR_DB_MAX_IDLE_CONNS'"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# LENMONITOR_ROBOTS_DISALLOW
|
|
|
|
|
if [[ "$LENMONITOR_ROBOTS_DISALLOW" == "true" ]]; then
|
|
|
|
|
RUN_CMD="$RUN_CMD -robots-disallow"
|
|
|
|
|