SOURCES: Zope.logrotate, Zope3.logrotate, apache.logrotate, apache...

glen glen at pld-linux.org
Tue Sep 26 20:43:11 CEST 2006


Author: glen                         Date: Tue Sep 26 18:43:11 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use /sbin/service

---- Files affected:
SOURCES:
   Zope.logrotate (1.6 -> 1.7) , Zope3.logrotate (1.2 -> 1.3) , apache.logrotate (1.13 -> 1.14) , apache1.logrotate (1.7 -> 1.8) , cups.logrotate (1.2 -> 1.3) , fetchmail.logrotate (1.4 -> 1.5) , freeradius.logrotate (1.3 -> 1.4) , lighttpd.logrotate (1.4 -> 1.5) , mysql.logrotate (1.18 -> 1.19) , mythbackend.logrotate (1.2 -> 1.3) , p0f.logrotate (1.2 -> 1.3) , syslog.logrotate (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SOURCES/Zope.logrotate
diff -u SOURCES/Zope.logrotate:1.6 SOURCES/Zope.logrotate:1.7
--- SOURCES/Zope.logrotate:1.6	Tue Dec  9 22:33:18 2003
+++ SOURCES/Zope.logrotate	Tue Sep 26 20:43:05 2006
@@ -1,6 +1,6 @@
 /var/log/zope/*/*.log {
 create 644 zope zope	
 	postrotate
-		/etc/rc.d/init.d/zope restart >/dev/null 2>&1
+		/sbin/service zope restart >/dev/null 2>&1
 	endscript
 }

================================================================
Index: SOURCES/Zope3.logrotate
diff -u SOURCES/Zope3.logrotate:1.2 SOURCES/Zope3.logrotate:1.3
--- SOURCES/Zope3.logrotate:1.2	Tue Aug 30 10:36:57 2005
+++ SOURCES/Zope3.logrotate	Tue Sep 26 20:43:06 2006
@@ -1,6 +1,6 @@
 /var/log/zope3/*/*.log {
 	create 644 zope zope	
 	postrotate
-		/etc/rc.d/init.d/zope3 restart >/dev/null 2>&1
+		/sbin/service zope3 restart >/dev/null 2>&1
 	endscript
 }

================================================================
Index: SOURCES/apache.logrotate
diff -u SOURCES/apache.logrotate:1.13 SOURCES/apache.logrotate:1.14
--- SOURCES/apache.logrotate:1.13	Wed Aug 30 16:47:21 2006
+++ SOURCES/apache.logrotate	Tue Sep 26 20:43:06 2006
@@ -9,6 +9,6 @@
     olddir /var/log/archiv/httpd
     sharedscripts
     postrotate
-		/etc/rc.d/init.d/httpd flush-logs > /dev/null
+		/sbin/service httpd flush-logs > /dev/null
     endscript
 }

================================================================
Index: SOURCES/apache1.logrotate
diff -u SOURCES/apache1.logrotate:1.7 SOURCES/apache1.logrotate:1.8
--- SOURCES/apache1.logrotate:1.7	Wed Jul 19 09:47:35 2006
+++ SOURCES/apache1.logrotate	Tue Sep 26 20:43:06 2006
@@ -7,6 +7,6 @@
 	sharedscripts
     olddir /var/log/archiv/apache
     postrotate
-		/etc/rc.d/init.d/apache flush-logs > /dev/null
+		/sbin/service apache flush-logs > /dev/null
     endscript
 }

================================================================
Index: SOURCES/cups.logrotate
diff -u SOURCES/cups.logrotate:1.2 SOURCES/cups.logrotate:1.3
--- SOURCES/cups.logrotate:1.2	Thu Feb 10 10:16:48 2005
+++ SOURCES/cups.logrotate	Tue Sep 26 20:43:06 2006
@@ -5,6 +5,6 @@
 	compress
 	create 660 root logs
 	postrotate
-		/etc/rc.d/init.d/cups restart > /dev/null
+		/sbin/service cups restart > /dev/null
 	endscript
 }

================================================================
Index: SOURCES/fetchmail.logrotate
diff -u SOURCES/fetchmail.logrotate:1.4 SOURCES/fetchmail.logrotate:1.5
--- SOURCES/fetchmail.logrotate:1.4	Sun Nov  4 01:50:51 2001
+++ SOURCES/fetchmail.logrotate	Tue Sep 26 20:43:06 2006
@@ -1,5 +1,5 @@
 /var/log/fetchmail {
     postrotate
-	/etc/rc.d/init.d/fetchmail restart >/dev/null 2>&1
+		/sbin/service fetchmail restart >/dev/null 2>&1
     endscript
 }

================================================================
Index: SOURCES/freeradius.logrotate
diff -u SOURCES/freeradius.logrotate:1.3 SOURCES/freeradius.logrotate:1.4
--- SOURCES/freeradius.logrotate:1.3	Thu Jan  5 13:18:58 2006
+++ SOURCES/freeradius.logrotate	Tue Sep 26 20:43:06 2006
@@ -59,6 +59,6 @@
 	compress
 	missingok
 	postrotate
-		/etc/rc.d/init.d/radiusd condrestart
+		/sbin/service radiusd condrestart
 	endscript
 }

================================================================
Index: SOURCES/lighttpd.logrotate
diff -u SOURCES/lighttpd.logrotate:1.4 SOURCES/lighttpd.logrotate:1.5
--- SOURCES/lighttpd.logrotate:1.4	Tue Jan 10 21:52:48 2006
+++ SOURCES/lighttpd.logrotate	Tue Sep 26 20:43:06 2006
@@ -5,6 +5,6 @@
 
 	sharedscripts
 	postrotate
-		/etc/rc.d/init.d/lighttpd flush-logs > /dev/null
+		/sbin/service lighttpd flush-logs > /dev/null
 	endscript
 }

================================================================
Index: SOURCES/mysql.logrotate
diff -u SOURCES/mysql.logrotate:1.18 SOURCES/mysql.logrotate:1.19
--- SOURCES/mysql.logrotate:1.18	Tue May  2 09:57:25 2006
+++ SOURCES/mysql.logrotate	Tue Sep 26 20:43:06 2006
@@ -17,6 +17,6 @@
 	create 640 mysql mysql
 	sharedscripts
 	postrotate
-		/etc/rc.d/init.d/mysql flush-logs
+		/sbin/service mysql flush-logs
 	endscript
 }

================================================================
Index: SOURCES/mythbackend.logrotate
diff -u SOURCES/mythbackend.logrotate:1.2 SOURCES/mythbackend.logrotate:1.3
--- SOURCES/mythbackend.logrotate:1.2	Mon Feb 13 00:30:07 2006
+++ SOURCES/mythbackend.logrotate	Tue Sep 26 20:43:06 2006
@@ -4,6 +4,6 @@
 	sharedscripts
 	create 664 root mythtv
 	postrotate
-		/etc/rc.d/init.d/mythbackend flush-logs > /dev/null
+		/sbin/service mythbackend flush-logs > /dev/null
 	endscript
 }

================================================================
Index: SOURCES/p0f.logrotate
diff -u SOURCES/p0f.logrotate:1.2 SOURCES/p0f.logrotate:1.3
--- SOURCES/p0f.logrotate:1.2	Sun Feb 20 13:23:51 2005
+++ SOURCES/p0f.logrotate	Tue Sep 26 20:43:06 2006
@@ -1,6 +1,6 @@
 /var/log/p0f {
 	create 600 root root
 	postrotate
-		[ ! -f /var/lock/subsys/p0f ] || /etc/rc.d/init.d/p0f restart > /dev/null
+		[ ! -f /var/lock/subsys/p0f ] || /sbin/service p0f restart > /dev/null
 	endscript
 }

================================================================
Index: SOURCES/syslog.logrotate
diff -u SOURCES/syslog.logrotate:1.20 SOURCES/syslog.logrotate:1.21
--- SOURCES/syslog.logrotate:1.20	Tue Mar 14 16:46:20 2006
+++ SOURCES/syslog.logrotate	Tue Sep 26 20:43:06 2006
@@ -11,6 +11,6 @@
 	sharedscripts
 
 	postrotate
-		/etc/rc.d/init.d/syslog flush-logs >/dev/null
+		/sbin/service syslog flush-logs >/dev/null
 	endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/Zope.logrotate?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/SOURCES/Zope3.logrotate?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SOURCES/apache.logrotate?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/SOURCES/apache1.logrotate?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SOURCES/cups.logrotate?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SOURCES/fetchmail.logrotate?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/freeradius.logrotate?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SOURCES/lighttpd.logrotate?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/mysql.logrotate?r1=1.18&r2=1.19&f=u
    http://cvs.pld-linux.org/SOURCES/mythbackend.logrotate?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SOURCES/p0f.logrotate?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SOURCES/syslog.logrotate?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list