Commit 61534249 authored by Tatuya Kamada's avatar Tatuya Kamada

erp5: Parametarise mariadb data-directory

parent 4f1dc1cf
...@@ -26,7 +26,7 @@ md5sum = 1af531c51f575a1d1362f2ca2d61620d ...@@ -26,7 +26,7 @@ md5sum = 1af531c51f575a1d1362f2ca2d61620d
[template-mariadb] [template-mariadb]
filename = instance-mariadb.cfg.in filename = instance-mariadb.cfg.in
md5sum = f59c9c313147e437637c2c5ef00438d0 md5sum = 4434c0aef147805e7340004eaac735a7
[template-kumofs] [template-kumofs]
filename = instance-kumofs.cfg.in filename = instance-kumofs.cfg.in
......
...@@ -126,7 +126,8 @@ command = {{ parameter_dict['findutils-location'] }}/bin/find "${directory:maria ...@@ -126,7 +126,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 }}
tmp-directory = ${directory:tmp} tmp-directory = ${directory:tmp}
etc-directory = ${directory:etc} etc-directory = ${directory:etc}
pid-file = ${directory:run}/mariadb.pid 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