Fix migration to Redis

master
andryyy 2017-05-14 20:07:43 +02:00
parent 0ea977b1a0
commit ce4c5b80b8
1 changed files with 1 additions and 1 deletions

View File

@ -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