certbot-cron-docker/root/logrotate.conf
MrMeeb bd44102844
All checks were successful
Test Pull Request / Build Image (pull_request) Successful in 4m18s
Test Pull Request / Notify (pull_request) Successful in 5s
Add logrotate
2024-06-02 21:00:14 +00:00

15 lines
274 B
Plaintext

missingok
/config/logs/letsencrypt.log {
daily
rotate 10
postrotate
find /config/logs -type f -regex '.*letsencrypt\.log\.\(.[2-9]\|[2-9].\|[1-9][0-9]\{2,\}\).*' -delete
endscript
}
/config/logs/renew.log {
rotate 5
size 100k
compress
}