Commit dd368c3b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

invoke mysqld directly instead of using pidproxy and mysqld_safe. it is more...

invoke mysqld directly instead of using pidproxy and mysqld_safe. it is more supervisord-friendly way.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42427 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2690fcab
...@@ -18,8 +18,7 @@ mysql_sock = ${:mysql_datadir}/mysql.sock ...@@ -18,8 +18,7 @@ mysql_sock = ${:mysql_datadir}/mysql.sock
depends = depends =
${create-directories:command} ${create-directories:command}
recipe = erp5.recipe.mysqlserver recipe = erp5.recipe.mysqlserver
mysql_software_bin = ${software_definition:mysql_software}/bin mysql_software_libexec = ${software_definition:mysql_software}/libexec
mysql_bin_folder = ${buildout:data-bin-directory}
mysql_datadir = ${configuration:mysql_datadir} mysql_datadir = ${configuration:mysql_datadir}
mysql_auto_start = false mysql_auto_start = false
mysql_cnf_file = ${buildout:etc-directory}/my.cnf mysql_cnf_file = ${buildout:etc-directory}/my.cnf
...@@ -38,7 +37,7 @@ mysql_slow_query_time = 5 ...@@ -38,7 +37,7 @@ mysql_slow_query_time = 5
mysqld-extra-configuration = mysqld-extra-configuration =
supervisor-priority = 10 supervisor-priority = 10
supervisor-program = supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ] ${:supervisor-priority} ${:_buildout_section_name_} (autorestart=true) ${:mysql_software_libexec}/mysqld [--defaults-file=${:mysql_cnf_file} --pid-file=${configuration:mysql_pid}]
[mysql-server-template] [mysql-server-template]
<= mysql-instance <= mysql-instance
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