...
You have several options if you want to have control over where this directory is:
- Add a key to your runtime properties file:
- application_data_directory=/my/custom/location/
- Modify the openmrs.war file: /WEB-INF/web.xml file
- Change the context parameter "application.data.directory" to something. (use a trailing slash)
- Modify the conf/Catalina/openmrs/context.xml file in your tomcat (or other server) config:
(see http://tomcat.apache.org/tomcat-6.0-doc/config/context.html for more info)Code Block <Context ...> ... <Parameter name="application.data.directory" value="/my/custom/location/" override="false"/> ... </Context>
...