Paths in configuration files

Hi guys

I’m snapping openldap and it has inherited files:

Working on the assumption users can put the snap directories in different places, and the fact openldap doesn’t seem to know what a env var is, whats the best way to code around this?