oood.cfg 1.61 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1
[buildout]
2 3
parts = oood-instance

4 5 6 7 8
[oood-instance]
depends =
  ${oood-directories:command}
recipe = erp5.recipe.ooodinstance
wrapper_path = ${buildout:data-bin-directory}/oood-runserw
9
oood_conf_file = ${buildout:etc-directory}/oood.conf
10 11 12

wrapper_part = oood-wrapper
configuration_part = oood-configuration
13 14 15
supervisor-priority = 20
supervisor-program =
  ${:supervisor-priority} ${:_buildout_section_name_} (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
16 17 18 19 20 21 22 23 24

[oood-wrapper]
openoffice_python = ${software_definition:openoffice_software}/program/python
oood_pid = ${oood-configuration:oood_run}/server_pid.lock
openoffice_uno = ${oood-configuration:openoffice_uno}
oood_software = ${oood-configuration:oood_software}

[oood-configuration]
oood_software = ${software_definition:oood_software}
25 26 27
oood_run = ${buildout:var-directory}/oood
oood_tmp = ${:oood_run}
oood_host = 127.0.0.1
28
oood_port = ${configuration:oood_port}
29
oood_pool_host = localhost
30
oood_pool_range_start = ${configuration:oood_pool_range_start}
31 32 33
oood_instance_load_time = 20
oood_instance_timeout = 360
oood_virtual_display_id = 99
34 35 36 37 38 39
openoffice_uno = ${software_definition:openoffice_software}/basis-link/program/
openoffice_program = ${software_definition:openoffice_software}/program
oood_log_file = ${buildout:log-directory}/oood.log

[configuration]
oood_port = 8008
40
oood_pool_range_start = 4060
41

42 43
[oood-directories]
recipe = plone.recipe.command
44 45
depends = ${create-directories:command}
command = mkdir -p ${oood-configuration:oood_run}
46
update-command = ${:command}
47

48 49
[conversion-server-template]
<= oood-instance