From 326d025e8ddc363e25d4e5766eb482d9b1221d3e Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Wed, 21 Apr 2021 11:48:21 +0200 Subject: [PATCH] Adjust sed to match code style --- .docker/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/init.sh b/.docker/init.sh index ab95db4..245c0f3 100644 --- a/.docker/init.sh +++ b/.docker/init.sh @@ -51,7 +51,7 @@ elif [ "$ULOGGER_DB_DRIVER" = "sqlite" ]; then chown -R nobody:nobody /data/sqlite sed -i "s/^\$dbdsn = .*$/\$dbdsn = \"sqlite:\/data\/sqlite\/ulogger.db\";/" /var/www/html/config.php else - sed -i "s|.*skip-networking.*|#skip-networking|g" /etc/my.cnf.d/mariadb-server.cnf + sed -i "s/.*skip-networking.*/#skip-networking/" /etc/my.cnf.d/mariadb-server.cnf mkdir -p /run/mysqld /data/mysql chown mysql:mysql /run/mysqld /data/mysql mysql_install_db --user=mysql --datadir=/data/mysql