2022-03-09 00:00:03 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# If the MariaDB host is anything but localhost, disable MariaDB on this container.
|
|
|
|
if [ "$MYSQL_HOST" != "localhost" ]; then
|
|
|
|
echo "MariaDB host is not localhost; disabling MariaDB..."
|
|
|
|
|
2022-05-26 03:49:09 +02:00
|
|
|
rm -rf /etc/supervisor/minimal.conf.d/mariadb.conf
|
2022-03-09 00:00:03 +01:00
|
|
|
fi
|