-
Notifications
You must be signed in to change notification settings - Fork 2
/
warmup.cfg
56 lines (39 loc) · 1.13 KB
/
warmup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[buildout]
parts +=
${buildout:warmup-parts}
instance-eggs +=
${buildout:warmup-eggs}
warmup-eggs = collective.warmup
warmup-ini-path = ${buildout:parts-directory}/warmup/warmup.ini
warmup-parts =
make-warmup-config-file
warmup
warmup-instance-env-vars =
WARMUP_BIN ${buildout:directory}/bin/warmup
WARMUP_INI ${buildout:warmup-ini-path}
[warmup-configuration]
mountpoint = ${buildout:filestorage-parts}
site-id = platform
base_path = ${warmup-configuration:mountpoint}/${warmup-configuration:site-id}
urls = siteroot
url-sections =
[siteroot]
path = ${warmup-configuration:base_path}/
follow_links = True
[instance0]
environment-vars += ${buildout:warmup-instance-env-vars}
[make-warmup-config-file]
recipe = collective.recipe.template
output = ${buildout:warmup-ini-path}
input = inline:
[warmup]
enabled = True
sleep = 4
base_url = http://localhost
logfile = ${buildout:directory}/var/log/warmup.log
urls = ${warmup-configuration:urls}
${warmup-configuration:url-sections}
[warmup]
recipe = zc.recipe.egg:scripts
eggs = ${buildout:warmup-eggs}
dependent-scripts = false