Commit dfbb4eee authored by Tatuya Kamada's avatar Tatuya Kamada

erp5: Make mariadb data-directory parameterise.

parent de416ee9
...@@ -101,7 +101,8 @@ command = {{ parameter_dict['findutils-location'] }}/bin/find "${directory:maria ...@@ -101,7 +101,8 @@ command = {{ parameter_dict['findutils-location'] }}/bin/find "${directory:maria
ip = {{ ip }} ip = {{ ip }}
port = {{ port }} port = {{ port }}
socket = ${directory:run}/mariadb.sock socket = ${directory:run}/mariadb.sock
data-directory = ${directory:mariadb-data} {% set data_directory = slapparameter_dict.get('data-directory', '${directory:mariadb-data}') -%}
data-directory = {{ data_directory }}
pid-file = ${directory:run}/mariadb.pid pid-file = ${directory:run}/mariadb.pid
error-log = ${directory:log}/mariadb_error.log error-log = ${directory:log}/mariadb_error.log
slow-query-log = ${directory:log}/mariadb_slowquery.log slow-query-log = ${directory:log}/mariadb_slowquery.log
......
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