packages: tacacs/tacacs.rotate - removed bogus 'errors' statement (mail set...

gotar gotar at pld-linux.org
Thu Jan 20 01:02:59 CET 2011


Author: gotar                        Date: Thu Jan 20 00:02:59 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- removed bogus 'errors' statement (mail set globally),
- don't override global compress setting for server log,
- cosmetics (spaces->tabs, true -> :, obvious comment).

---- Files affected:
packages/tacacs:
   tacacs.rotate (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/tacacs/tacacs.rotate
diff -u packages/tacacs/tacacs.rotate:1.1 packages/tacacs/tacacs.rotate:1.2
--- packages/tacacs/tacacs.rotate:1.1	Tue Mar 30 15:03:21 2010
+++ packages/tacacs/tacacs.rotate	Thu Jan 20 01:02:53 2011
@@ -1,21 +1,16 @@
-# This is tac_plus logrotate config file
-# For more info please refer logrotate man page
 /var/log/tac_plus.log {
 	size 3M
 	missingok
-	errors root at localhost
-	compress
 	postrotate
-		/usr/bin/killall -HUP tac_plus 2> /dev/null || true
+		/usr/bin/killall -HUP tac_plus 2> /dev/null || :
 	endscript
 }
 
 /var/log/tac_acc.log {
-        size 5M
+	size 5M
 	missingok
-        errors root at localhost
-	nocompress	
+	nocompress
 	postrotate
-                /usr/bin/killall -HUP tac_plus 2> /dev/null || true
-        endscript
+		/usr/bin/killall -HUP tac_plus 2> /dev/null || :
+	endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tacacs/tacacs.rotate?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list