← Back to team overview

dhis2-users team mailing list archive

Re: DHIS2_HOME in ubuntu

 

On Wed, Oct 2, 2013 at 11:41 AM, Lars Helge Øverland <larshelge@xxxxxxxxx>wrote:

>
> (Having said all of that, there is something a bit simplistic about our
>> use of DHIS2_HOME in that we use it as the base directory for configuration
>> but we also write stuff into it.  Not much as most things are now kept in
>> the database, but still a few things which require the directory to be
>> writable.  It would probably be neater to separate DHIS2_CONFIG from
>> DHIS2_DATA.  Where the former doesn't need to be writable but the latter
>> does.)
>>
>>
> Good point. I think it should be fine though as we deliberately don't
> write anything into DHIS2_HOME itself, rather DHIS2_HOME/documents for
> documents/resources etc.
>

But that directory must be then created by the installation script, so your
idea is probably simpler.

References