Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# The mesh's (module logrotate, novox/hq to-be 42): the base configuration every rotation inherits.
|
||||
# Written whole at every push; an edit here is overwritten. Each package's own rules are in
|
||||
# /etc/logrotate.d and stay the packages'.
|
||||
|
||||
# Weekly, four weeks kept, a new empty log created after each rotation.
|
||||
weekly
|
||||
rotate 4
|
||||
create
|
||||
|
||||
# Rotated logs are compressed, one rotation late, so a program still writing to the file it had open
|
||||
# loses nothing to the compression.
|
||||
compress
|
||||
delaycompress
|
||||
|
||||
# A package's replaced configuration is never read as a rule.
|
||||
tabooext + .pacorig .pacnew .pacsave
|
||||
|
||||
include /etc/logrotate.d
|
||||
|
||||
/var/log/wtmp {
|
||||
monthly
|
||||
create 0664 root utmp
|
||||
minsize 1M
|
||||
rotate 1
|
||||
}
|
||||
|
||||
/var/log/btmp {
|
||||
missingok
|
||||
monthly
|
||||
create 0600 root utmp
|
||||
rotate 1
|
||||
}
|
||||
Reference in New Issue
Block a user