Update chuckie branch for new services/configs.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-04 20:02:42 +00:00
commit f52e089094
42 changed files with 3799 additions and 15 deletions

1
etc/logrotate.d/apache Normal file
View file

@ -0,0 +1 @@
# This file is intentionally empty - custom httpd configuration does not write logs directly.

6
etc/logrotate.d/btmp Normal file
View 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
View 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
View file

@ -0,0 +1,3 @@
/var/log/sulog {
# No specific options.
}

6
etc/logrotate.d/syslog Normal file
View file

@ -0,0 +1,6 @@
/var/log/httpd /var/log/messages /var/log/php /var/log/smtp {
sharedscripts
postrotate
/bin/kill -HUP $(cat /run/syslogd.pid) >/dev/null 2>&1 || true
endscript
}

6
etc/logrotate.d/wtmp Normal file
View 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.
# }