shithub: rc

Download patch

ref: 15cde29629e8ecd1952e791996a2fc517337bbdd
parent: 6a179c0db1f31cbab6cff01639f9e7c73276ca92
author: Stephen Jones <smj@9p.sdf.org>
date: Sun Oct 17 14:14:43 EDT 2021

upped the default size to 1m

--- a/logrotate
+++ b/logrotate
@@ -7,7 +7,7 @@
 logdir=/sys/log
 logfiles=(auth cpu cron dns gemini listen mail runq smtp smtp.fail smtpd)
 generations=14
-maxsize=102400
+maxsize=1024000
 
 if(! test -d $logdir){
 	echo $logdir does not exist
@@ -39,6 +39,7 @@
 			rm -f $logdir/$i
 			touch $logdir/$i
 			chmod 0662 $logdir/$i
+			chmod +t $logdir/$i
 		}
 	}
 }