[HCoop-Help] Daemon with access to environment variables

Matthias-Christian Ott ott at mirix.org
Sat Apr 4 07:32:38 EDT 2009

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.


More information about the HCoop-Help mailing list