Initial commit.

This commit is contained in:
Darren 'Tadgy' Austin 2020-09-29 16:40:13 +01:00
commit 3d665e5e11
72 changed files with 3200 additions and 0 deletions

25
base-files/logrotate.conf Normal file
View file

@ -0,0 +1,25 @@
# Rotate log files on a monthly basis.
monthly
# Name files based upon the year/month they are rotated.
dateext
dateformat -%Y-%m
dateyesterday
# Compress rotated logs.
compress
# Keep 5 years of old logs (just to be sure).
rotate 60
# Move rotated logs to this directory.
olddir /var/log/Archived
# After rotating, create new (empty) files with the same owner/perms.
create
# E-mail logs which are about to be deleted to this address.
# mail root@example.com
# Read log specific configurations.
include /etc/logrotate.d