1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/Dockerfiles/dovecot/docker-entrypoint.sh
2016-12-15 10:07:09 +01:00

7 lines
147 B
Bash
Executable File

#!/bin/bash
set -e
sed -i "/^connect/c\connect = \"host=mysql dbname=${DBNAME} user=${DBUSER} password=${DBPASS}\"" /etc/dovecot/sql/*
exec "$@"