mailcow/data/Dockerfiles/dovecot/docker-entrypoint.sh

7 lines
147 B
Bash
Raw Normal View History

2016-12-15 17:07:09 +08:00
#!/bin/bash
set -e
sed -i "/^connect/c\connect = \"host=mysql dbname=${DBNAME} user=${DBUSER} password=${DBPASS}\"" /etc/dovecot/sql/*
exec "$@"