From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-process/acct/files: acct.logrotate |
Date: | Sat, 31 Dec 2011 07:26:28 |
Message-Id: | 20111231072618.9BBFC2004C@flycatcher.gentoo.org |
1 | vapier 11/12/31 07:26:18 |
2 | |
3 | Modified: acct.logrotate |
4 | Log: |
5 | Do not always restart acct init.d when rotating logs #395867 by Eugeny Shkrigunov. |
6 | |
7 | (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.5 sys-process/acct/files/acct.logrotate |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct.logrotate?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct.logrotate?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct.logrotate?r1=1.4&r2=1.5 |
15 | |
16 | Index: acct.logrotate |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-process/acct/files/acct.logrotate,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- acct.logrotate 26 Jan 2011 05:36:22 -0000 1.4 |
23 | +++ acct.logrotate 31 Dec 2011 07:26:18 -0000 1.5 |
24 | @@ -1,5 +1,5 @@ |
25 | # Logrotate file for acct |
26 | - |
27 | + |
28 | /var/account/pacct { |
29 | compress |
30 | delaycompress |
31 | @@ -9,6 +9,6 @@ |
32 | create 0600 root root |
33 | missingok |
34 | postrotate |
35 | - /etc/init.d/acct reload > /dev/null 2>&1 |
36 | + /etc/init.d/acct --quiet --ifstarted restart |
37 | endscript |
38 | -} |
39 | +} |