git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2562
d4fa192b-c00b-0410-8231-
f00ffab90ce4
# Open files (usually 1024, which is way too small for varnish)
ulimit -n ${NFILES:-131072}
+# Varnish wants to lock shared memory log in memory.
+ulimit -l ${MEMLOCK:-82000}
+
# See how we were called.
case "$1" in
start)
Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
-Version: 1.1.2
-Release: 5%{?dist}
+Version: 2.0
+Release: pre_svn20080307%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
# Maximum number of open files (for ulimit -n)
NFILES=131072
+# Locked shared memory (for ulimit -l)
+# Default log size is 82MB + header
+MEMLOCK=82000
+
# This file contains 4 alternatives, please use only one.
## Alternative 1, Minimal configuration, no VCL