garden/logrotate

Description
# logrotate

A multi-generational log rotator.  Runs as the hostowner
from cron.  Take the defaults or edit these 4 varables in
the script:

logdir		Where your log files live if not /sys/log
logfiles 	What files you want rotated
generations	How many generations to you want to keep
maxsize		How big can the logfile get before its rotated

Run from cron at midnight every sunday
0 0 * * 0 $sysname pathto/logrotate
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-10-20 Stephen initial commit of logrotate 7b390e5368973a5b162cc63a8db7bb6ee85cff14
Files (browse)
README.md
logrotate