SOURCES (DEVEL): mythbackend.logrotate - postrotate scripts to flu...

glen glen at pld-linux.org
Sat Feb 4 16:35:36 CET 2006


Author: glen                         Date: Sat Feb  4 15:35:36 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- postrotate scripts to flush logs
- removed sysadmin tuneable options (should be set in logrotate.conf)

---- Files affected:
SOURCES:
   mythbackend.logrotate (1.1 -> 1.1.2.1) 

---- Diffs:

================================================================
Index: SOURCES/mythbackend.logrotate
diff -u SOURCES/mythbackend.logrotate:1.1 SOURCES/mythbackend.logrotate:1.1.2.1
--- SOURCES/mythbackend.logrotate:1.1	Tue Apr  5 20:59:01 2005
+++ SOURCES/mythbackend.logrotate	Sat Feb  4 16:35:31 2006
@@ -1,11 +1,8 @@
 /var/log/mythtv/mythbackend.log {
 	notifempty
 	missingok
-	compress
-	compresscmd /usr/bin/bzip2
-	uncompresscmd /usr/bin/bunzip2
-	compressext .bz2
-	weekly
-	rotate 4
-	size 10M
+	sharedscripts
+	postrotate
+		/etc/rc.d/init.d/mythbackend flush-logs
+	endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mythbackend.logrotate?r1=1.1&r2=1.1.2.1&f=u



More information about the pld-cvs-commit mailing list