pinkbyte    15/02/24 09:16:46

  Modified:             ceph.logrotate
  Log:
  QA: A bit more fixes for logrotate script output
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
0x60C0742D1F357D42)

Revision  Changes    Path
1.3                  sys-cluster/ceph/files/ceph.logrotate

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?r1=1.2&r2=1.3

Index: ceph.logrotate
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ceph.logrotate      24 Feb 2015 08:54:59 -0000      1.2
+++ ceph.logrotate      24 Feb 2015 09:16:46 -0000      1.3
@@ -10,12 +10,12 @@
     sharedscripts
     prerotate
        for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do
-               ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null >&1
+               ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null 
>/dev/null
        done
     endscript
     postrotate
        for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do
-               ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null >&1
+               ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null 
>/dev/null
         done
     endscript
     missingok




Reply via email to