Set up custom file

I was reading some documentation about how to modify the attribute “axelor.config” and works with the next command
gradle -Daxelor.config=[custom_path]
This command works running Tomcat that I installed in my computer but when I try to run the system, using tomcat that is embed in axelor, it doesn’t work
So, my question is How can I run a custom file running Tomcat embed in the system?