-
Notifications
You must be signed in to change notification settings - Fork 2
/
tika-jaxrs-server.cfg
52 lines (40 loc) · 1.5 KB
/
tika-jaxrs-server.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
[buildout]
parts +=
tika-app-download
tika-server-download
tika-server
instance-eggs += ftw.tika
zcml-additional-fragments += ${tika:zcml}
supervisor-memmon-options = -c -a ${buildout:supervisor-memmon-size} -m ${buildout:supervisor-email}
[tika]
server-port = 1${buildout:deployment-number}32
filename-app = tika-app.jar
filename-server = tika-server.jar
zcml =
<configure xmlns:tika="http://namespaces.plone.org/tika">
<tika:config path="${buildout:parts-directory}/tika-app-download/${tika:filename-app}"
port="${tika:server-port}" />
</configure>
[tika-app-download]
recipe = hexagonit.recipe.download
# Don't upgrade tika version without running integration tests!
url = https://repo1.maven.org/maven2/org/apache/tika/tika-app/1.5/tika-app-1.5.jar
md5sum = 2124a77289efbb30e7228c0f7da63373
download-only = true
filename = ${tika:filename-app}
mode = 664
[tika-server-download]
recipe = hexagonit.recipe.download
# Don't upgrade tika version without running integration tests!
url = https://repo1.maven.org/maven2/org/apache/tika/tika-server/1.5/tika-server-1.5.jar
md5sum = 0f70548f233ead7c299bf7bc73bfec26
download-only = true
filename = ${tika:filename-server}
mode = 664
[tika-server]
recipe = collective.recipe.scriptgen
cmd = java
arguments = -jar ${tika-server-download:destination}/${tika:filename-server} --port ${tika:server-port}
[supervisor]
programs +=
10 tika-server (stopasgroup=true) ${buildout:bin-directory}/tika-server true ${buildout:os-user}