kolla/docker/proxysql/kolla_proxysql_start
Michal Arbet febbb5b40b Add proxysql image
Replacement for MySQL balancing solution
provided by haproxy.

Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/770215

Change-Id: I85ebe3b20294cd9dc847a3582053d3e21f6a2216
2021-09-16 19:23:10 +02:00

10 lines
228 B
Bash

#!/bin/bash
PROXYSQL_LOG_FILE="/var/log/kolla/proxysql/proxysql.log"
proxysql \
--exit-on-error \
--idle-threads \
--no-version-check \
-f -D /var/lib/proxysql -c /etc/proxysql.cnf >> ${PROXYSQL_LOG_FILE} 2>&1