Displaying 1 result from an estimated 1 matches for "use_tmp".
Did you mean:
use_cmp
2018 Aug 04
1
replication fails and corrupts index with zlib enabled
...touch --reference="${mail}" "${tmpfile}"
mv --force "${tmpfile}" "${mail}" || continue
# Agregar la Z al final
mv "${mail}" "${mail}Z"
done
-------------- next part --------------
#!/bin/bash
# https://wiki.dovecot.org/Plugins/Zlib
USE_TMP=${USE_TMP:-false}
dir="${1}"
test -d "${dir}" || exit 1
test -d "${dir}/cur" || exit 1
# Trabajar en memoria (si estamos sincronizando al mismo tiempo, dovecot
# empieza a fallar)
${USE_TMP} && mount -t tmpfs none "${dir}/tmp"
# Bloquear el director...