[ACME] Do not trim after each push to Redis

master
André 2018-08-02 12:15:41 +02:00
parent bdf7632757
commit f8f87d4744
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ log_f() {
fi
redis-cli -h redis LPUSH ACME_LOG "{\"time\":\"$(date +%s)\",\"message\":\"$(printf '%s' "${1}" | \
tr '%&;$"_[]{}-\r\n' ' ')\"}" > /dev/null
redis-cli -h redis LTRIM ACME_LOG 0 ${LOG_LINES} > /dev/null
}
if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then