Pretty sure it needs to be called MH.private.ini.
On 2011-02-24 4:25 PM, "Ryan Davies" <firstname.lastname@example.org
> Hi Jim
> Where are you defining your env variable?
> and what user is mh running as?
> For reference, here is my setup. Running on Ubuntu 10.10 Server
> Misterhouse lives in /opt/misterhouse
> My personal overridden directories are in my home dir under a subdir:
> Im using upstart for my init script.
> Here is my upstart script: /etc/init/mh.conf
> description "Misterhouse Server"
> start on filesystem
> stop on runlevel [!2345]
> umask 022
> pre-start script
> chown -R ryan:ryan /home/ryan
> end script
> exec su ryan -c "/home/ryan/mh/mh"
> my init script in my mh dir: /home/ryan/mh/mh
> cd /opt/misterhouse/bin
> /usr/bin/perl mh
> in my /etc/environment file:
> I put it in this file so that no matter what user i switch to, the
> environment variable is always there.
> Common problem i found using the init.d scripts was getting MH to start as
> me, with the environment variables, and with upstart, if MH dies, it is
> restarted automatically (respawn)
> Hope this helps your issue.
>> I am working on a fresh setup of misterhouse-2105.tar.gz on centos5.5
>> and want to do some testing with it. I am using mh.mine.ini as my
>> mh.private.ini file.
>> directory structure is:
>> mine <-- my directory for mh.mine.ini
>> startup script in /etc/init.d/mhd
>> environment variable:
>> checked with the env command.
>> Misterhouse starts on system reboot or by /etc/init.d/mhd restart fine.
>> But the mh.mine.ini file is not being read. And I can find no reason why.
>> Any help appreciated
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365