Commit 49592f0c authored by Tatuya Kamada's avatar Tatuya Kamada

erp5: Parameterise mariadb data directory

parent 5bb74740
......@@ -26,7 +26,7 @@ md5sum = d95e8500bdc72d1f40b97cc414656e7e
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = 591fe60e2f615c7690fa5078473b1b0a
md5sum = fa6081255666cdd7fd971d3dc3919c29
[template-kumofs]
filename = instance-kumofs.cfg.in
......
......@@ -126,7 +126,8 @@ command = {{ parameter_dict['findutils-location'] }}/bin/find "${directory:maria
ip = {{ ip }}
port = {{ port }}
socket = ${directory:run}/mariadb.sock
data-directory = ${directory:srv}/mariadb
{% set data_directory = slapparameter_dict.get('data-directory', '${directory:mariadb-data}') -%}
data-directory = {{ data_directory }}
tmp-directory = ${directory:tmp}
etc-directory = ${directory:etc}
pid-file = ${directory:run}/mariadb.pid
......
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