7 lines
203 B
Bash
7 lines
203 B
Bash
sed -i "s/DB_USER/$DB_USER/g" /etc/init.sql
|
|
sed -i "s/DB_PASS/$DB_PASS/g" /etc/init.sql
|
|
|
|
cat /etc/init.sql >/dev/stderr
|
|
|
|
exec mariadbd --no-defaults --user=root --datadir=/data --init-file=/etc/init.sql
|