shithub: logrotate


clone: git:// gits://
push: hjgit://
patches to:

Last commit

7b390e53 – Stephen Jones <> authored on 2021/10/20 13:56
initial commit of logrotate


# 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