aboutsummaryrefslogtreecommitdiff
path: root/kolla/docker/proxysql/kolla_extend_start
blob: 91cbd070730473e2aaf37786f2bcecaf73133e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

PROXYSQL_LIB_DIR="/var/lib/proxysql"

# Remove old pid
rm -f ${PROXYSQL_LIB_DIR}/proxysql.pid

# As proxysql supports only one
# configuration file, there is a
# script which reads global and services
# configs (similar to haproxy) and
# generate single configuration file
# from which is internal DB created
# every time.
kolla_proxysql_config_sync