From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-servers/lighttpd/files: lighttpd.service lighttpd.logrotate-r1 |
Date: | Fri, 02 May 2014 10:58:03 |
Message-Id: | 20140502105758.07D062004E@flycatcher.gentoo.org |
1 | pacho 14/05/02 10:57:57 |
2 | |
3 | Modified: lighttpd.service |
4 | Added: lighttpd.logrotate-r1 |
5 | Log: |
6 | Handle systemd in logrotate file (#508526 by SN) |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 | |
10 | Revision Changes Path |
11 | 1.2 www-servers/lighttpd/files/lighttpd.service |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?r1=1.1&r2=1.2 |
16 | |
17 | Index: lighttpd.service |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.service,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- lighttpd.service 21 Apr 2013 09:27:39 -0000 1.1 |
24 | +++ lighttpd.service 2 May 2014 10:57:57 -0000 1.2 |
25 | @@ -3,7 +3,6 @@ |
26 | After=syslog.target network.target |
27 | |
28 | [Service] |
29 | -PIDFile=/var/run/lighttpd.pid |
30 | ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf |
31 | |
32 | [Install] |
33 | |
34 | |
35 | |
36 | 1.1 www-servers/lighttpd/files/lighttpd.logrotate-r1 |
37 | |
38 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1?rev=1.1&view=markup |
39 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1?rev=1.1&content-type=text/plain |
40 | |
41 | Index: lighttpd.logrotate-r1 |
42 | =================================================================== |
43 | # $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1,v 1.1 2014/05/02 10:57:57 pacho Exp $ |
44 | # lighttpd logrotate script for Gentoo |
45 | |
46 | /var/log/lighttpd/*.log { |
47 | daily |
48 | missingok |
49 | copytruncate |
50 | rotate 7 |
51 | compress |
52 | notifempty |
53 | sharedscripts |
54 | postrotate |
55 | test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 1>/dev/null || true |
56 | test -e /run/systemd/system && systemctl restart lighttpd reload 1>/dev/null || true |
57 | endscript |
58 | } |