Update configs for Phil.
This commit is contained in:
parent
f4a8693bfa
commit
98737ad12d
33 changed files with 455 additions and 201 deletions
6
etc/logrotate.d/btmp
Normal file
6
etc/logrotate.d/btmp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# The btmp login failure records are not rotated by default.
|
||||
# Uncomment the lines below to enable rotation of btmp.
|
||||
|
||||
# /var/log/btmp {
|
||||
# # No specific options.
|
||||
# }
|
||||
2
etc/logrotate.d/lastlog
Normal file
2
etc/logrotate.d/lastlog
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# This file is for information only.
|
||||
# /var/log/lastlog should not be rotated as it is a database, not a log file.
|
||||
3
etc/logrotate.d/sulog
Normal file
3
etc/logrotate.d/sulog
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/var/log/sulog {
|
||||
# No specific options.
|
||||
}
|
||||
6
etc/logrotate.d/syslog
Normal file
6
etc/logrotate.d/syslog
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/var/log/messages /var/log/smtp /var/log/sshd {
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -HUP $(cat /run/syslogd.pid) >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
6
etc/logrotate.d/wtmp
Normal file
6
etc/logrotate.d/wtmp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# The wtmp login records are not rotated by default.
|
||||
# Uncomment the lines below to enable rotation of wtmp.
|
||||
|
||||
# /var/log/wtmp {
|
||||
# # No specific options.
|
||||
# }
|
||||
Loading…
Add table
Add a link
Reference in a new issue