ref: a300ce7cfdab8d0ec1a39c48c0a5d55575cfbdbe
parent: 48bd68389799db8d4e5eeea31fb7a8ce7578e208
author: Stephen Jones <smj@9p.sdf.org>
date: Sun Oct 17 13:58:47 EDT 2021
Added logrotate
--- a/README.md
+++ b/README.md
@@ -26,6 +26,20 @@
'-(_/,__.--^--" * *
* * *
+## 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
+
## surl
A URL shortener. Assumes you're running a web server and