Author: blues                        Date: Tue May 12 07:51:51 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- compact it and use sharedscripts

---- Files affected:
packages/inn:
   inn.logrotate (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/inn/inn.logrotate
diff -u packages/inn/inn.logrotate:1.8 packages/inn/inn.logrotate:1.9
--- packages/inn/inn.logrotate:1.8      Mon May 11 09:56:34 2009
+++ packages/inn/inn.logrotate  Tue May 12 09:51:45 2009
@@ -1,6 +1,8 @@
 /var/log/news/news.* {
        olddir /var/log/archive/news
        create 640 news news
+
+       sharedscripts
        postrotate
                if [ -e /etc/rc.d/init.d/syslog-ng ] ; then
                        /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
@@ -10,23 +12,15 @@
        endscript
 }
 
-/var/log/news/news {
-       olddir /var/log/archive/news
-       create 640 news news
-       prerotate
-               ctlinnd -s pause "Flushing log and syslog files" || :
-       endscript
-       postrotate
-               ctlinnd -s go "Flushing log and syslog files"
-       endscript
-}
-
 /var/log/news/errorlog
 /var/log/news/expire.log
 /var/log/news/innfeed.log
-/var/log/news/nntpsend.log {
+/var/log/news/nntpsend.log
+/var/log/news/news {
        olddir /var/log/archive/news
        create 640 news news
+       
+       sharedscripts
        prerotate
                ctlinnd -s pause "Flushing log and syslog files" || :
        endscript
@@ -34,3 +28,4 @@
                ctlinnd -s go "Flushing log and syslog files"
        endscript
 }
+
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/inn/inn.logrotate?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to