Commit bc5f6761 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Modify the sample configuration to be easily templateable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@38318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71592244
...@@ -7,41 +7,41 @@ debug_mode = True ...@@ -7,41 +7,41 @@ debug_mode = True
# Folder where pid files, lock files and virtual frame buffer mappings # Folder where pid files, lock files and virtual frame buffer mappings
# are stored. In this folder is necessary create a folder tmp, because this # are stored. In this folder is necessary create a folder tmp, because this
# folder is used to create all temporary documents. # folder is used to create all temporary documents.
working_path = /var/run/cloudooo working_path = @WORKING_PATH@
# Folder where OpenOffice Uno interpreter is installed # Folder where OpenOffice Uno interpreter is installed
uno_path = /opt/openoffice.org3/basis-link/program uno_path = @UNO_PATH@
# Folder where OpenOffice Binarie is installed # Folder where OpenOffice Binarie is installed
office_binary_path = /opt/openoffice.org3/program office_binary_path = @OFFICE_BINARY_PATH@
# #
## Monitor Settings ## Monitor Settings
# #
# Limit to use the Openoffice Instance. if pass of the limit, the instance is # Limit to use the Openoffice Instance. if pass of the limit, the instance is
# stopped and another is started. # stopped and another is started.
limit_number_request = 100 limit_number_request = @NUMBER_MAXIMUM_OF_REQUEST@
# Interval to check the factory # Interval to check the factory
monitor_interval = 10 monitor_interval = @MONITOR_INTERVAL@
timeout_response = 180 timeout_response = @TIMEOUT_RESPONSE@
enable_memory_monitor = True enable_memory_monitor = @ENABLE_MEMORY_MONITOR@
# Set the limit in MB # Set the limit in MB
# e.g 1000 = 1 GB, 100 = 100 MB # e.g 1000 = 1 GB, 100 = 100 MB
limit_memory_used = 1000 limit_memory_used = @MAXIMUM_USE_BY_OPENOFFICE@
# #
## OOFactory Settings ## OOFactory Settings
# #
# The pool consist of several OpenOffice.org instances # The pool consist of several OpenOffice.org instances
application_hostname = localhost application_hostname = @APPLICATION_HOSTNAME@
# OpenOffice Port # OpenOffice Port
openoffice_port = 4062 openoffice_port = @OPENOFFICE_PORT@
# #
## Xvfb Settings ## Xvfb Settings
# #
# Default port to xvfb # Default port to xvfb
virtual_display_port = 6097 virtual_display_port = @XVFB_PORT@
# ID of the virtual display where OOo instances are launched # ID of the virtual display where OOo instances are launched
virtual_display_id = 97 virtual_display_id = @XVFB_DISPLAY_ID@
virtual_screen = 0 virtual_screen = @XVFB_SCREEN_NUMBER@
[server:main] [server:main]
use = egg:PasteScript#wsgiutils use = egg:PasteScript#wsgiutils
host = 0.0.0.0 host = @SERVER_HOST@
port = 8011 port = @SERVER_PORT@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment