From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-servers/lighttpd/files: lighttpd.initd |
Date: | Sun, 08 Jan 2012 20:45:56 |
Message-Id: | 20120108204547.064762004B@flycatcher.gentoo.org |
1 | hwoarang 12/01/08 20:45:47 |
2 | |
3 | Modified: lighttpd.initd |
4 | Log: |
5 | Check if /var/run/lighttpd exists. Bug #397897 |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.21 www-servers/lighttpd/files/lighttpd.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd?rev=1.21&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd?rev=1.21&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd?r1=1.20&r2=1.21 |
15 | |
16 | Index: lighttpd.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v |
19 | retrieving revision 1.20 |
20 | retrieving revision 1.21 |
21 | diff -u -r1.20 -r1.21 |
22 | --- lighttpd.initd 1 Jan 2012 00:03:47 -0000 1.20 |
23 | +++ lighttpd.initd 8 Jan 2012 20:45:46 -0000 1.21 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | # Copyright 1999-2012 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.20 2012/01/01 00:03:47 idl0r Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.21 2012/01/08 20:45:46 hwoarang Exp $ |
30 | |
31 | extra_started_commands="reload graceful" |
32 | |
33 | @@ -28,6 +28,7 @@ |
34 | |
35 | start() { |
36 | checkconfig || return 1 |
37 | + checkpath -d -q -m 0750 -o lighttpd:lighttpd /var/run/lighttpd/ |
38 | |
39 | ebegin "Starting lighttpd" |
40 | start-stop-daemon --start --quiet --exec /usr/sbin/lighttpd \ |