summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2008-03-10 22:10:20 +0000
committerThilo Bangert <bangert@gentoo.org>2008-03-10 22:10:20 +0000
commit6cb25f0029ef0b002f985d1984261174ed3564fe (patch)
tree13805cf2cc19d7463678979dc920fc12993a68f6 /www-servers/varnish/files
parentRemove old (diff)
downloadhistorical-6cb25f0029ef0b002f985d1984261174ed3564fe.tar.gz
historical-6cb25f0029ef0b002f985d1984261174ed3564fe.tar.bz2
historical-6cb25f0029ef0b002f985d1984261174ed3564fe.zip
allow varnish to lock the logfile to memory - add RDEPEND on gcc
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-servers/varnish/files')
-rwxr-xr-xwww-servers/varnish/files/varnishd.initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/www-servers/varnish/files/varnishd.initd b/www-servers/varnish/files/varnishd.initd
index 61b450ba6782..4a7890f5dc8a 100755
--- a/www-servers/varnish/files/varnishd.initd
+++ b/www-servers/varnish/files/varnishd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.4 2007/06/11 22:59:25 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.5 2008/03/10 22:10:20 bangert Exp $
depend() {
need net
@@ -9,6 +9,8 @@ depend() {
start() {
ebegin "Starting varnish"
+ #allow varnishd to lock logfile to memory
+ ulimit -l 82000
start-stop-daemon --quiet --start --pidfile /var/run/varnishd.pid --exec /usr/sbin/varnishd -- -P /var/run/varnishd.pid ${VARNISHD_OPTS} &> /dev/null
eend $?
}