r1031 - in /zope3/trunk/debian: changelog zopeZVER.logrotate.in

kobold at users.alioth.debian.org kobold at users.alioth.debian.org
Thu Nov 29 10:58:05 UTC 2007


Author: kobold
Date: Thu Nov 29 10:58:05 2007
New Revision: 1031

URL: http://svn.debian.org/wsvn/pkg-zope/?sc=1&rev=1031
Log:
changes.

Modified:
    zope3/trunk/debian/changelog
    zope3/trunk/debian/zopeZVER.logrotate.in

Modified: zope3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-zope/zope3/trunk/debian/changelog?rev=1031&op=diff
==============================================================================
--- zope3/trunk/debian/changelog (original)
+++ zope3/trunk/debian/changelog Thu Nov 29 10:58:05 2007
@@ -1,3 +1,10 @@
+zope3 (3.3.1-4) unstable; urgency=low
+
+  * debian/zopeZVER.logrotate.in: use the original mode, user and group while
+    rotating the logs. (Closes: #)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Thu, 29 Nov 2007 11:51:47 +0100
+
 zope3 (3.3.1-3) unstable; urgency=low
 
   * Merge from Ubuntu:

Modified: zope3/trunk/debian/zopeZVER.logrotate.in
URL: http://svn.debian.org/wsvn/pkg-zope/zope3/trunk/debian/zopeZVER.logrotate.in?rev=1031&op=diff
==============================================================================
--- zope3/trunk/debian/zopeZVER.logrotate.in (original)
+++ zope3/trunk/debian/zopeZVER.logrotate.in Thu Nov 29 10:58:05 2007
@@ -1,6 +1,6 @@
 # Logrotate configuration file fo Zope Debian package
 
-"/var/log/zope at ZVER@/*/Z2.log" "/var/log/zope at ZVER@/*/access.log"{
+"/var/log/zope at ZVER@/*/z3.log" "/var/log/zope at ZVER@/*/access.log" "/var/log/zope at ZVER@/*/transcript.log" {
     weekly
     missingok
     rotate 52
@@ -8,9 +8,8 @@
     compress                                                      
     delaycompress
     notifempty   
-    create 640 zope zope
     sharedscripts
     postrotate
-    sh -c 'for i in /var/lib/zope at ZVER@/instance/* ; do [ -d "$i/log" -a -x "$i/bin/zopectl" -a -r "$i/var/Z2.pid" ] && "$i"/bin/zopectl logreopen ; done'
+    sh -c 'for i in /var/lib/zope at ZVER@/instance/* ; do [ -d "$i/log" -a -x "$i/bin/zopectl" -a -e "$i/var/zopectlsock" ] && "$i"/bin/zopectl logreopen; done'
     endscript
 }




More information about the pkg-zope-commits mailing list