Hi Erick,

 

You can set it to look for the runtime properties file with an
environment variable so you don't have to move your files...

https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime
+Properties

 

On Suse Linux, I did mine like this...

 

Create the environment variable for OPENMRS_RUNTIME_PROPERTIES_FILE

1.            Type: vi /etc/bash.bashrc.local <ENTER>

2.            Add the following line...

# OpenMRS Stuff
export
OPENMRS_RUNTIME_PROPERTIES_FILE=/home/openmrs/.OpenMRS/OPENMRS_RUNTIME_P
ROPERTIES.PROPERTIES

3.            Restart the server.

 

You would modify the path specified to the path where your current
runtime property files is located.

 

James

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Erick Mugoma
Sent: Monday, November 28, 2011 12:19 AM
To: [email protected]
Subject: [OPENMRS-IMPLEMENTERS] How to Move .OpenMRS Directory

 

Hi Ben;
My .OpenMRS directory was installed in /root directory.
I want this directory to move this directory to /usr/share/tomcat6  so
openmrs can get the runtime properties from tomcat6 directory.

I tried using mv command but this did work for me. How do I move this
directory and ensure that tomcat gets the runtime properties from
usr/share/tomcat6/.OpenMRS

thanks

Erick

________________________________

Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list 


_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to