mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-09-21 21:14:52 -04:00
Merge pull request #564 from linuxserver/max-log-backups
This commit is contained in:
commit
a01e4aca17
2 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,7 @@ init_diagram: |
|
||||||
"swag:latest" <- Base Images
|
"swag:latest" <- Base Images
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- {date: "05.05.25:", desc: "Disable Certbot's built in log rotation."}
|
||||||
- {date: "19.01.25:", desc: "Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality to SWAG."}
|
- {date: "19.01.25:", desc: "Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality to SWAG."}
|
||||||
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}
|
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}
|
||||||
- {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)."}
|
- {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)."}
|
||||||
|
|
|
@ -59,6 +59,9 @@ grep -qF 'agree-tos' /config/etc/letsencrypt/cli.ini || echo 'agree-tos=true' >>
|
||||||
# Check for broken dns credentials value in cli.ini and remove
|
# Check for broken dns credentials value in cli.ini and remove
|
||||||
sed -i '/dns--credentials/d' /config/etc/letsencrypt/cli.ini
|
sed -i '/dns--credentials/d' /config/etc/letsencrypt/cli.ini
|
||||||
|
|
||||||
|
# Disable Certbot's built in log rotation
|
||||||
|
set_ini_value "max-log-backups" "0" /config/etc/letsencrypt/cli.ini
|
||||||
|
|
||||||
# copy dns default configs
|
# copy dns default configs
|
||||||
cp -n /defaults/dns-conf/* /config/dns-conf/ 2> >(grep -v 'cp: not replacing')
|
cp -n /defaults/dns-conf/* /config/dns-conf/ 2> >(grep -v 'cp: not replacing')
|
||||||
lsiown -R abc:abc /config/dns-conf
|
lsiown -R abc:abc /config/dns-conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue