[HCoop-Help] Daemon with access to environment variables

Michal michal at hcoop.net
Sun Apr 5 15:39:31 EDT 2009

I have actually realised that I don't think it was the lack of
environment variables that caused the daemon to fail: I had the wrong
permissions set on the lib directory! Sorry... I think I may have
wasted peoples' time here.

Setting the correct permissions and removing the wrapper that sets the
variable and running the daemon directly (via run-in-pagsh) actually
seems to work fine now.

On Sat, Apr 4, 2009 at 12:32 PM, Matthias-Christian Ott <ott at mirix.org> wrote:
> On Sat, Apr 04, 2009 at 12:28:30PM +0100, Michal wrote:
>> Hi,
>> (I think) A daemon I'm trying to run requires some environment
>> variables to be set. If just running a program under my own username,
>> I would usually set them in .bashrc or .bash_profile, but these don't
>> seem to be run when using the run-in-pagsh script, which (from what I
>> understand) runs my daemon under the username michal.daemon.
>> How can I run a daemon with specific environment variables set?
> Write a shell script that sets the environment variables and executes
> the programme.
>> Michal.
> Regards,
> Matthias-Christian
> _______________________________________________
> HCoop-Help mailing list
> HCoop-Help at lists.hcoop.net
> https://lists.hcoop.net/listinfo/hcoop-help

More information about the HCoop-Help mailing list