On Fri, Jan 15, 2010 at 1:23 AM, Graeme Ruthven <gra...@kula.co.nz> wrote:
> As I understand it this has little to do with the .mifos directory, as each
> VM would have its own set of parameters, completely independent of any other
> VMs.

Graeme,

That is true. However, Mifos also needs to have its own configuration
files, and these live in a directory right now. By convention, we call
that directory the ".mifos directory" - but really, it can be any
directory. See http://www.mifos.org/developers/wiki/MifosConfigurationLocations
for more information on how to change this.

> In my opinion the .mifos location for configuration data is just wrong for a
> Linux system apart from one hosting multiple developers

If you want to change the directory, you can simply set the
environment variable MIFOS_CONF to another location. This will be
checked before the $HOME/.mifos directory, so enables you to set it to
anything you want.

Setting this variable also enables you to have many Mifos
installations on one server, with the proper startup script or
scripts.

> I think that somewhere like /etc/mifos would be a far better place for the
> configuration files on a production Linux system.

That is fine for some installations, and you can set that yourself right now.

> We've discussed this before, with the recommendation that an environment
> variable be set to point to the location of the configuration file(s). A
> Debian installation (I don't have Ubuntu to check) does not run jsvc in a
> way that creates environment variables accessible to an application.

We use a custom startup script that works well with Ubuntu. I will
send this along later when I'm at work.

> Fixing this would make the task of generating a .deb for Debian and Ubuntu,
> and other Debian-based distributions, far simpler.

I don't understand why not... can you explain this? Why can't you just
use a custom startup script to start tomcat?

-adam
-- 
Adam Feuer <adamf at pobox dot com>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to