mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-07-24 23:25:18 -04:00
Disable Certbot's built in log rotation
This commit is contained in:
parent
23e05f1f7a
commit
08aa9cc07b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
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
|
||||
cp -n /defaults/dns-conf/* /config/dns-conf/ 2> >(grep -v 'cp: not replacing')
|
||||
lsiown -R abc:abc /config/dns-conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue