This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.cfg
97 lines (86 loc) · 2.24 KB
/
base.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[buildout]
extends = versions.cfg
show-picked-versions = true
index = https://pypi.python.org/simple/
find-links =
https://pypi.python.org/pypi
https://eggrepo.eea.europa.eu/simple
# Specific server configuration
effective-user = scoreboard
memcache-address = 127.0.0.1
memcache-port = 11210
memcache-size = 512
solr-url = http://localhost:8983/solr/scoreboard
parts =
libevent
memcached
memcached-ctl
eggs =
Pillow
Plone
Products.PloneHotfix20130618
Products.PloneHotfix20131210
Products.PloneHotfix20150910
Products.PloneHotfix20151208
Products.PloneHotfix20160419
Products.PloneHotfix20160830
Products.PloneHotfix20161129
Products.PloneHotfix20170117
Products.PloneHotfix20171128
sparql-client
eea.app.visualization
eea.sparql
scoreboard.theme
scoreboard.visualization
edw.datacube
eea.cache
cairocffi
CairoSVG
collective.recaptcha
zcml =
Products.CMFPlone
eea.app.visualization
eea.sparql
scoreboard.theme
scoreboard.visualization
edw.datacube
eea.cache-overrides
collective.recaptcha
environment-vars =
MEMCACHE_SERVER ${buildout:memcache-address}:${buildout:memcache-port}
SOLR_URL ${buildout:solr-url}
[memcached]
recipe = zc.recipe.cmmi
url = https://memcached.org/files/memcached-1.5.5.tar.gz
extra_options = --with-libevent=${libevent:location}
[memcached-ctl]
recipe = collective.recipe.template
output = ${buildout:bin-directory}/memcached
mode = 0755
input = inline:
#!/bin/sh
export LD_LIBRARY_PATH=${libevent:location}/lib
PIDFILE=${memcached:location}/memcached.pid
case "$1" in
start)
${memcached:location}/bin/memcached -d -u ${buildout:effective-user} -P $PIDFILE -p ${buildout:memcache-port} -m ${buildout:memcache-size}
;;
run)
${memcached:location}/bin/memcached -u ${buildout:effective-user} -P $PIDFILE -p ${buildout:memcache-port} -m ${buildout:memcache-size}
;;
stop)
kill `cat $PIDFILE`
;;
restart|force-reload)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
exit 1
;;
esac
[libevent]
recipe = zc.recipe.cmmi
url = https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz