From: | "Sergey Popov (pinkbyte)" <pinkbyte@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/ceph/files: ceph.logrotate |
Date: | Tue, 24 Feb 2015 09:16:50 |
Message-Id: | 20150224091646.B33E71270C@oystercatcher.gentoo.org |
1 | pinkbyte 15/02/24 09:16:46 |
2 | |
3 | Modified: ceph.logrotate |
4 | Log: |
5 | QA: A bit more fixes for logrotate script output |
6 | |
7 | (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42) |
8 | |
9 | Revision Changes Path |
10 | 1.3 sys-cluster/ceph/files/ceph.logrotate |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate?r1=1.2&r2=1.3 |
15 | |
16 | Index: ceph.logrotate |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/files/ceph.logrotate,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- ceph.logrotate 24 Feb 2015 08:54:59 -0000 1.2 |
23 | +++ ceph.logrotate 24 Feb 2015 09:16:46 -0000 1.3 |
24 | @@ -10,12 +10,12 @@ |
25 | sharedscripts |
26 | prerotate |
27 | for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do |
28 | - ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null >&1 |
29 | + ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null >/dev/null |
30 | done |
31 | endscript |
32 | postrotate |
33 | for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do |
34 | - ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null >&1 |
35 | + ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null >/dev/null |
36 | done |
37 | endscript |
38 | missingok |