From ce4c5b80b8067f0eae1e3abb3e6b999346581056 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 14 May 2017 20:07:43 +0200 Subject: [PATCH] Fix migration to Redis --- data/Dockerfiles/php-fpm/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/php-fpm/docker-entrypoint.sh b/data/Dockerfiles/php-fpm/docker-entrypoint.sh index 2c73abfc..5e88a89d 100755 --- a/data/Dockerfiles/php-fpm/docker-entrypoint.sh +++ b/data/Dockerfiles/php-fpm/docker-entrypoint.sh @@ -52,7 +52,7 @@ for file in $(ls /data/dkim/keys/); do if [[ -f /data/dkim/txt/${file} ]]; then redis-cli -h redis-mailcow HSET DKIM_PUB_KEYS "${domain}" "$(cat /data/dkim/txt/${file})" redis-cli -h redis-mailcow HSET DKIM_PRIV_KEYS "${domain}" "$(cat /data/dkim/keys/${file})" - redis-cli -h redis-mailcow HSET DKIM_SELECTORS "${domain}" "dkim.${domain}" + redis-cli -h redis-mailcow HSET DKIM_SELECTORS "${domain}" "dkim" fi rm /data/dkim/{keys,txt}/${file} done