Commit 67857de9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add sphinx recipes.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37874 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0fdf8814
[buildout]
parts =
sphinx-instance
[configuration]
sphinx_address = 127.0.0.1
sphinx_port = 9312
sphinx_sql_port = 9306
# below are candidates to be removed from global configuration
sphinx_data_dir = ${buildout:var-directory}/sphinx
sphinx_log_dir = ${buildout:log-directory}/sphinx
[sphinx-instance]
depends =
${create-directories:command}
recipe = erp5.recipe.sphinxserver
sphinx_software_bin = ${software_definition:sphinx_software}/bin
sphinx_bin_folder = ${buildout:data-bin-directory}
sphinx_data_dir = ${configuration:sphinx_data_dir}
sphinx_log_dir = ${configuration:sphinx_log_dir}
sphinx_conf_file = ${buildout:etc-directory}/sphinx.cnf
# template related
sphinx_address = ${configuration:sphinx_address}
sphinx_port = ${configuration:sphinx_port}
sphinx_sql_port = ${configuration:sphinx_sql_port}
...@@ -8,6 +8,7 @@ extends = ...@@ -8,6 +8,7 @@ extends =
../instance-profiles/memcached.cfg ../instance-profiles/memcached.cfg
../instance-profiles/mysql-database.cfg ../instance-profiles/mysql-database.cfg
../instance-profiles/mysql.cfg ../instance-profiles/mysql.cfg
../instance-profiles/sphinx.cfg
../instance-profiles/oood.cfg ../instance-profiles/oood.cfg
../instance-profiles/supervisor.cfg ../instance-profiles/supervisor.cfg
../instance-profiles/zope.cfg ../instance-profiles/zope.cfg
...@@ -21,6 +22,7 @@ extends = ...@@ -21,6 +22,7 @@ extends =
parts = parts =
software-links software-links
mysql-instance mysql-instance
sphinx-instance
oood-instance oood-instance
supervisor-instance supervisor-instance
memcached-instance memcached-instance
...@@ -32,6 +34,7 @@ versions = versions ...@@ -32,6 +34,7 @@ versions = versions
supervisor_programs = supervisor_programs =
10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ] 10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory} 20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
30 sphinx (autorestart=true stopsignal=TERM) ${buildout:data-bin-directory}/searchd [ --nodetach ]
[software-links] [software-links]
recipe = plone.recipe.command recipe = plone.recipe.command
......
...@@ -19,6 +19,7 @@ extends = ...@@ -19,6 +19,7 @@ extends =
../software-profiles/libtool.cfg ../software-profiles/libtool.cfg
../software-profiles/memcached.cfg ../software-profiles/memcached.cfg
../software-profiles/mysql-tritonn-5.0.cfg ../software-profiles/mysql-tritonn-5.0.cfg
../software-profiles/sphinx.cfg
../software-profiles/ocropus.cfg ../software-profiles/ocropus.cfg
../software-profiles/oood.cfg ../software-profiles/oood.cfg
../software-profiles/openoffice-bin.cfg ../software-profiles/openoffice-bin.cfg
...@@ -45,6 +46,7 @@ parts = ...@@ -45,6 +46,7 @@ parts =
w3m w3m
xpdf xpdf
mysql-tritonn-5.0 mysql-tritonn-5.0
sphinx
imagemagick imagemagick
zope-2.8 zope-2.8
cmf15 cmf15
......
...@@ -10,6 +10,7 @@ data-bin-directory = ${:var-directory}/bin ...@@ -10,6 +10,7 @@ data-bin-directory = ${:var-directory}/bin
[software_definition] [software_definition]
mysql_software = ${:software_home}/parts/mysql-tritonn-5.0 mysql_software = ${:software_home}/parts/mysql-tritonn-5.0
sphinx_software = ${:software_home}/parts/sphinx
oood_software = ${:software_home}/parts/oood oood_software = ${:software_home}/parts/oood
openoffice_software = ${:software_home}/parts/openoffice-bin openoffice_software = ${:software_home}/parts/openoffice-bin
zope_software = ${:software_home}/parts/zope-2.8 zope_software = ${:software_home}/parts/zope-2.8
......
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