| 1 |
gabriel |
38831 |
[buildout]
|
| 2 |
gabriel |
38938 |
extends =
|
| 3 |
|
|
../profiles/software-definition.cfg
|
| 4 |
gabriel |
41475 |
../profiles/common.cfg
|
| 5 |
gabriel |
40427 |
../profiles/links.cfg
|
| 6 |
kazuhiko |
42426 |
supervisor.cfg
|
| 7 |
gabriel |
38938 |
|
| 8 |
gabriel |
38831 |
parts =
|
| 9 |
kazuhiko |
41672 |
cloudooo-instance
|
| 10 |
gabriel |
38831 |
paster
|
| 11 |
|
|
create-log-directory
|
| 12 |
gabriel |
41475 |
supervisor-instance
|
| 13 |
gabriel |
38831 |
|
| 14 |
rafael |
42541 |
[configuration]
|
| 15 |
|
|
oood_port = 8011
|
| 16 |
|
|
|
| 17 |
gabriel |
38831 |
[paster]
|
| 18 |
|
|
recipe = zc.recipe.egg
|
| 19 |
|
|
eggs =
|
| 20 |
|
|
PasteScript
|
| 21 |
gabriel |
44910 |
cloudooo.handler.ooo
|
| 22 |
|
|
cloudooo.handler.pdf
|
| 23 |
|
|
cloudooo.handler.ffmpeg
|
| 24 |
|
|
cloudooo.handler.imagemagick
|
| 25 |
kazuhiko |
39570 |
cloudooo
|
| 26 |
gabriel |
38831 |
|
| 27 |
|
|
[create-log-directory]
|
| 28 |
|
|
recipe = z3c.recipe.mkdir
|
| 29 |
|
|
paths =
|
| 30 |
|
|
${buildout:log-directory}
|
| 31 |
|
|
${buildout:run-directory}
|
| 32 |
|
|
|
| 33 |
kazuhiko |
41672 |
[cloudooo-instance]
|
| 34 |
gabriel |
38831 |
recipe = erp5.recipe.cloudoooinstance
|
| 35 |
kazuhiko |
41676 |
depends =
|
| 36 |
|
|
${paster:eggs}
|
| 37 |
|
|
${create-log-directory:paths}
|
| 38 |
gabriel |
38831 |
daemon = true # only true or false
|
| 39 |
|
|
conf-output = ${buildout:etc-directory}/cloudooo.conf
|
| 40 |
|
|
ctl-output = ${buildout:data-bin-directory}/cloudoooctl
|
| 41 |
|
|
log-directory = ${buildout:log-directory}
|
| 42 |
|
|
run-directory = ${buildout:run-directory}
|
| 43 |
|
|
bin-directory = ${buildout:bin-directory}
|
| 44 |
|
|
start-timeout = 20
|
| 45 |
|
|
hostname = localhost
|
| 46 |
|
|
debug-mode = True
|
| 47 |
|
|
working_path = ${buildout:run-directory}
|
| 48 |
|
|
#
|
| 49 |
|
|
## Monitor Settings
|
| 50 |
|
|
#
|
| 51 |
|
|
request-limit = 100
|
| 52 |
|
|
monitor-interval = 10
|
| 53 |
|
|
timeout-response = 180
|
| 54 |
|
|
enable-memory-monitor = True
|
| 55 |
gabriel |
44089 |
memory-limit = 1000
|
| 56 |
gabriel |
38831 |
#
|
| 57 |
|
|
## OpenOffice Settings
|
| 58 |
|
|
#
|
| 59 |
|
|
uno-path = ${software_definition:openoffice_software}/basis-link/program/
|
| 60 |
|
|
office-binary-path = ${software_definition:openoffice_software}/program/
|
| 61 |
|
|
openoffice-port = 4062
|
| 62 |
gabriel |
45074 |
env-PATH = ${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/ffmpeg/bin:${software_definition:software_home}/parts/pdftk/bin
|
| 63 |
kazuhiko |
45511 |
env-LD_LIBRARY_PATH = ${software_definition:software_home}/parts/file/lib:${software_definition:software_home}/parts/zlib/lib:${software_definition:software_home}/parts/freetype/lib:${software_definition:software_home}/parts/libXext/lib:${software_definition:software_home}/parts/libXau/lib:${software_definition:software_home}/parts/libX11/lib:${software_definition:software_home}/parts/libXdmcp/lib:${software_definition:software_home}/parts/libxcb/lib
|
| 64 |
gabriel |
38831 |
server-hostname = 0.0.0.0
|
| 65 |
rafael |
42541 |
server-port = ${configuration:oood_port}
|
| 66 |
arnaud.fontaine |
41801 |
supervisor-priority = 30
|
| 67 |
|
|
supervisor-program =
|
| 68 |
|
|
${:supervisor-priority} ${:_buildout_section_name_} (stopsignal=HUP) ${buildout:bin-directory}/paster [serve ${cloudooo-instance:conf-output}]
|
| 69 |
gabriel |
43735 |
handler-mapping =
|
| 70 |
|
|
ooo OOHandler
|
| 71 |
|
|
pdf PDFHandler
|
| 72 |
|
|
imagemagick ImageMagickHandler
|
| 73 |
|
|
ffmpeg FFMPEGHandler
|
| 74 |
gabriel |
43572 |
mimetype-registry =
|
| 75 |
gabriel |
45331 |
application/pdf * ooo
|
| 76 |
gabriel |
43572 |
video/* * ffmpeg
|
| 77 |
gabriel |
45118 |
audio/* * ffmpeg
|
| 78 |
|
|
application/x-shockwave-flash * ffmpeg
|
| 79 |
gabriel |
43585 |
application/ogg * ffmpeg
|
| 80 |
|
|
application/ogv * ffmpeg
|
| 81 |
gabriel |
43707 |
image/* * ooo
|
| 82 |
gabriel |
43669 |
text/* * ooo
|
| 83 |
|
|
application/zip * ooo
|
| 84 |
|
|
application/msword * ooo
|
| 85 |
|
|
application/vnd* * ooo
|
| 86 |
gabriel |
43707 |
application/vnd* * ooo
|
| 87 |
|
|
application/x-vnd* * ooo
|
| 88 |
|
|
application/postscript * ooo
|
| 89 |
|
|
application/wmf * ooo
|
| 90 |
|
|
application/csv * ooo
|
| 91 |
|
|
application/x-openoffice-gdimetafile * ooo
|
| 92 |
|
|
application/x-emf * ooo
|
| 93 |
|
|
application/emf * ooo
|
| 94 |
|
|
application/octet* * ooo
|
| 95 |
gabriel |
41475 |
|
| 96 |
gabriel |
43585 |
|
| 97 |
kazuhiko |
41672 |
# this name is only for backward compatibility
|
| 98 |
|
|
[cloudooo-instance-template]
|
| 99 |
|
|
<= cloudooo-instance
|