~ubuntu-branches/debian/sid/varnish/sid

« back to all changes in this revision

Viewing changes to debian/varnish.default

  • Committer: Bazaar Package Importer
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-03-21 10:16:07 UTC
  • mfrom: (24.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110321101607-528fzl583fqanas5
Tags: 2.1.5-2
ReleaseĀ forĀ unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# to be set from this shell script fragment.
5
5
#
6
6
 
7
 
# Should we start varnishd at boot?  Set to "yes" to enable.
8
 
START=no
 
7
# Should we start varnishd at boot?  Set to "no" to disable.
 
8
START=yes
9
9
 
10
10
# Maximum number of open files (for ulimit -n)
11
11
NFILES=131072
17
17
 
18
18
# Default varnish instance name is the local nodename.  Can be overridden with
19
19
# the -n switch, to have more instances on a single server.
20
 
INSTANCE=$(uname -n)
 
20
# INSTANCE=$(uname -n)
21
21
 
22
22
# This file contains 4 alternatives, please use only one.
23
23
 
44
44
             -T localhost:6082 \
45
45
             -f /etc/varnish/default.vcl \
46
46
             -S /etc/varnish/secret \
47
 
             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
 
47
             -s malloc,256m"
48
48
 
49
49
 
50
50
## Alternative 3, Advanced configuration