mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-08-22 04:49:32 -04:00
more frequent rotation for shorter log retention
This commit is contained in:
parent
931c72f9f5
commit
124dd54ef5
2 changed files with 16 additions and 1 deletions
|
@ -33,7 +33,7 @@ SystemMaxFiles=10000
|
||||||
#RuntimeMaxFileSize=
|
#RuntimeMaxFileSize=
|
||||||
#RuntimeMaxFiles=100
|
#RuntimeMaxFiles=100
|
||||||
MaxRetentionSec={{journald_max_retention_sec}}
|
MaxRetentionSec={{journald_max_retention_sec}}
|
||||||
MaxFileSec=1day
|
MaxFileSec={{journald_max_file_sec}}
|
||||||
#ForwardToSyslog=no
|
#ForwardToSyslog=no
|
||||||
#ForwardToKMsg=no
|
#ForwardToKMsg=no
|
||||||
#ForwardToConsole=no
|
#ForwardToConsole=no
|
||||||
|
|
15
hosts.sh
15
hosts.sh
|
@ -182,6 +182,21 @@ declare -Ar hosts_journald_system_max_file_size=(
|
||||||
[grapheneos.social]=1G
|
[grapheneos.social]=1G
|
||||||
)
|
)
|
||||||
|
|
||||||
|
declare -Ar hosts_journald_max_file_sec=(
|
||||||
|
[ns1.staging.grapheneos.org]=12hour
|
||||||
|
[0.ns1.grapheneos.org]=12hour
|
||||||
|
[1.ns1.grapheneos.org]=12hour
|
||||||
|
[2.ns1.grapheneos.org]=12hour
|
||||||
|
[3.ns1.grapheneos.org]=12hour
|
||||||
|
[0.ns2.grapheneos.org]=12hour
|
||||||
|
[1.ns2.grapheneos.org]=12hour
|
||||||
|
[2.ns2.grapheneos.org]=12hour
|
||||||
|
[0.grapheneos.network]=12hour
|
||||||
|
[1.grapheneos.network]=12hour
|
||||||
|
[2.grapheneos.network]=12hour
|
||||||
|
[3.grapheneos.network]=12hour
|
||||||
|
)
|
||||||
|
|
||||||
declare -Ar hosts_journald_max_retention_sec=(
|
declare -Ar hosts_journald_max_retention_sec=(
|
||||||
[ns1.staging.grapheneos.org]=4day
|
[ns1.staging.grapheneos.org]=4day
|
||||||
[0.ns1.grapheneos.org]=4day
|
[0.ns1.grapheneos.org]=4day
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue