cloudooo.cfg 1.5 KB
Newer Older
1
[buildout]
Gabriel Monnerat's avatar
Gabriel Monnerat committed
2 3
extends = 
  ../profiles/software-definition.cfg
4
  ../profiles/common.cfg
5
  ../profiles/links.cfg
6
  ../instance-profiles/supervisor.cfg
Gabriel Monnerat's avatar
Gabriel Monnerat committed
7

8
parts =
9
  cloudooo-instance
10 11
  paster
  create-log-directory
12
  supervisor-instance
13 14 15 16 17

[paster]
recipe = zc.recipe.egg
eggs =
  PasteScript
18
  cloudooo
19 20 21 22 23 24 25

[create-log-directory]
recipe = z3c.recipe.mkdir
paths = 
  ${buildout:log-directory}
  ${buildout:run-directory}

26
[cloudooo-instance]
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
recipe = erp5.recipe.cloudoooinstance
daemon = true # only true or false
conf-output = ${buildout:etc-directory}/cloudooo.conf
ctl-output = ${buildout:data-bin-directory}/cloudoooctl
log-directory = ${buildout:log-directory}
run-directory = ${buildout:run-directory}
bin-directory = ${buildout:bin-directory}
start-timeout = 20
hostname = localhost
debug-mode = True
working_path = ${buildout:run-directory}
#
## Monitor Settings
#
request-limit = 100
monitor-interval = 10
timeout-response = 180
enable-memory-monitor = True
memory-limit = 3000
#
## OpenOffice Settings
#
uno-path = ${software_definition:openoffice_software}/basis-link/program/
office-binary-path = ${software_definition:openoffice_software}/program/
openoffice-port = 4062
virtual-display-port = 6077
virtual-display-id = 77
virtual-screen = 0
server-hostname = 0.0.0.0
server-port = 8011
57

58 59 60 61
# this name is only for backward compatibility
[cloudooo-instance-template]
<= cloudooo-instance

62 63 64
[configuration]
supervisor_programs +=
  30 cloudooo (autorestart=true stopsignal=1 stopwaitsecs=20) ${cloudooo-instance-template:ctl-output}