Skip to content

Commit a01e4ac

Browse files
authored
Merge pull request #564 from linuxserver/max-log-backups
2 parents 23e05f1 + b87c9d2 commit a01e4ac

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ init_diagram: |
205205
"swag:latest" <- Base Images
206206
# changelog
207207
changelogs:
208+
- {date: "05.05.25:", desc: "Disable Certbot's built in log rotation."}
208209
- {date: "19.01.25:", desc: "Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality to SWAG."}
209210
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}
210211
- {date: "21.10.24:", desc: "Fix naming issue with Dynu plugin. If you are using Dynu, please make sure your credentials are set in /config/dns-conf/dynu.ini and your DNSPLUGIN variable is set to dynu (not dynudns)."}

root/etc/s6-overlay/s6-rc.d/init-certbot-config/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ grep -qF 'agree-tos' /config/etc/letsencrypt/cli.ini || echo 'agree-tos=true' >>
5959
# Check for broken dns credentials value in cli.ini and remove
6060
sed -i '/dns--credentials/d' /config/etc/letsencrypt/cli.ini
6161

62+
# Disable Certbot's built in log rotation
63+
set_ini_value "max-log-backups" "0" /config/etc/letsencrypt/cli.ini
64+
6265
# copy dns default configs
6366
cp -n /defaults/dns-conf/* /config/dns-conf/ 2> >(grep -v 'cp: not replacing')
6467
lsiown -R abc:abc /config/dns-conf

0 commit comments

Comments
 (0)