Initial commit.
This commit is contained in:
commit
3d665e5e11
72 changed files with 3200 additions and 0 deletions
6
base-files/logrotate.d/btmp
Normal file
6
base-files/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
base-files/logrotate.d/lastlog
Normal file
2
base-files/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.
|
||||
7
base-files/logrotate.d/ntp
Normal file
7
base-files/logrotate.d/ntp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/var/log/ntp {
|
||||
notifempty
|
||||
missingok
|
||||
postrotate
|
||||
[ -x /etc/rc.d/rc.ntpd ] && /etc/rc.d/rc.ntpd restart || true
|
||||
endscript
|
||||
}
|
||||
3
base-files/logrotate.d/sulog
Normal file
3
base-files/logrotate.d/sulog
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/var/log/sulog {
|
||||
# No specific options.
|
||||
}
|
||||
6
base-files/logrotate.d/syslog
Normal file
6
base-files/logrotate.d/syslog
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/var/log/messages /var/log/fail2ban {
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -HUP $(cat /var/run/syslogd.pid) >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
6
base-files/logrotate.d/wtmp
Normal file
6
base-files/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