Commit 103357e2 authored by Ingvar Hagelund's avatar Ingvar Hagelund

This is more pre-2.0 than 1.1.2+

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2562 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f6864104
......@@ -26,6 +26,9 @@ mkdir -p /var/run/varnish 2>/dev/null
# 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/
......
......@@ -7,6 +7,10 @@
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment