AzuraCast/util/docker/mariadb/startup_scripts/00_disable_mariadb.sh

9 lines
261 B
Bash

#!/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..."
rm -rf /etc/supervisor/minimal.conf.d/mariadb.conf
fi