From: | "Thilo Bangert (bangert)" <bangert@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-servers/varnish/files: varnishd.initd |
Date: | Mon, 10 Mar 2008 22:10:29 |
Message-Id: | E1JYqCL-0006uf-Hr@stork.gentoo.org |
1 | bangert 08/03/10 22:10:21 |
2 | |
3 | Modified: varnishd.initd |
4 | Log: |
5 | allow varnish to lock the logfile to memory - add RDEPEND on gcc |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.5 www-servers/varnish/files/varnishd.initd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/varnish/files/varnishd.initd?rev=1.5&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/varnish/files/varnishd.initd?rev=1.5&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/varnish/files/varnishd.initd?r1=1.4&r2=1.5 |
14 | |
15 | Index: varnishd.initd |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v |
18 | retrieving revision 1.4 |
19 | retrieving revision 1.5 |
20 | diff -u -r1.4 -r1.5 |
21 | --- varnishd.initd 11 Jun 2007 22:59:25 -0000 1.4 |
22 | +++ varnishd.initd 10 Mar 2008 22:10:20 -0000 1.5 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2006 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.4 2007/06/11 22:59:25 bangert Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.5 2008/03/10 22:10:20 bangert Exp $ |
29 | |
30 | depend() { |
31 | need net |
32 | @@ -9,6 +9,8 @@ |
33 | |
34 | start() { |
35 | ebegin "Starting varnish" |
36 | + #allow varnishd to lock logfile to memory |
37 | + ulimit -l 82000 |
38 | start-stop-daemon --quiet --start --pidfile /var/run/varnishd.pid --exec /usr/sbin/varnishd -- -P /var/run/varnishd.pid ${VARNISHD_OPTS} &> /dev/null |
39 | eend $? |
40 | } |
41 | |
42 | |
43 | |
44 | -- |
45 | gentoo-commits@l.g.o mailing list |