Skip to content

Commit

Permalink
Update default retention days in piler.conf template
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed May 13, 2024
1 parent dc8a524 commit b782f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions imageroot/bin/expand-configuration
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if os.environ.get("MAIL_SERVER", ''):
properties = {
"host": os.environ["TRAEFIK_HOST"],
"provider_ip": os.environ["PROVIDER_IP"],
"retention_days": os.environ.get("RETENTION_DAYS", 2557),
}

json_properties = json.dumps(properties)
Expand Down
2 changes: 1 addition & 1 deletion imageroot/templates/piler.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ backlog=20
check_for_client_timeout_interval=20
cipher_list=ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
clamd_socket=/tmp/clamd
default_retention_days=2557
default_retention_days={{retention_days}}
enable_chunking=0
enable_cjk=0
enable_folders=0
Expand Down

0 comments on commit b782f25

Please sign in to comment.