I'm trying to externalize configuration for a grails application.
I've successfully externalized such that configuration file is in user home directory as follows.
grails.config.locations = ["file:${userHome}/.conf/${appName}-config.properties"]
However, I need to externalize such that configuration file need to be inside tomcat/conf
directory.
In other non-grails applications, I used to achieve this by specifying config location to be at ${CATALINA_HOME}/conf
.
How can configurations be externalized to a tomcat/conf
directory in grails?