How does templating work ?

Dear all,

I'm trying to externalize as much Nuxeo configuration as possible. At the moment, nuxeo.conf and some templates are located in /etc/nuxeo.

Nuxeo.conf does list the aforementioned templates as follows:

nuxeo.templates=default,/etc/nuxeo/my-template,postgresql

After restarting Nuxeo, the configuration files are indeed copied to /path/to/nuxeo/nxserver, but not to nxserver/config.

I declared the target in nuxeo.default like this:

template.target=/nxserver/config

What am I doing wrong ?

Best regards,

Samuel

0 votes

0 answers

45 views

ANSWER

Dear all. Problem solved. A colleague of mine told me to create a "config" sub-directory in /etc/nuxeo/my-template and copy the templates there. After restarting Nuxeo, the files were indeed templated to /opt/nuxeo/nxserver/config. Best regards, Samuel
04/29/2021