branches: front
Clone
clone: git://shithub.us/garden/logrotate gits://shithub.us/garden/logrotate
push: hjgit://shithub.us/garden/logrotate
patches to: smj@9p.sdf.org
Last commit
7b390e53
– Stephen Jones <smj@9p.sdf.org>
authored
on 2021/10/20 13:56
initial commit of logrotate
About
# 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