mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-03-03 14:52:27 +02:00
[Dovecot] Syslog-ng: Do not trim after each push to Redis [Dovecot] Add new cronjob to trim all Redis logs every minute (will be moved in the future)
8 lines
262 B
Bash
Executable File
8 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
redis-cli -h redis LTRIM ACME_LOG 0 LOG_LINES
|
|
redis-cli -h redis LTRIM POSTFIX_MAILLOG 0 LOG_LINES
|
|
redis-cli -h redis LTRIM DOVECOT_MAILLOG 0 LOG_LINES
|
|
redis-cli -h redis LTRIM SOGO_LOG 0 LOG_LINES
|
|
redis-cli -h redis LTRIM NETFILTER_LOG 0 LOG_LINES
|