monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Apps start from monit - problem


From: Blasfamous Tshirts
Subject: Re: [monit] Apps start from monit - problem
Date: Mon, 21 Jan 2008 23:10:18 -0600

I have imported the whole env to run the app in this way:
 
start program = "/usr/bin/env PATH=/usr/local/bin/:$PATH mongrel_rails start -C /home/bliss/test4/config/mongrel_9000.yml"
 
Is there any other way to load the env?


 
On 1/21/08, Martin Pala <address@hidden> wrote:
Monit sets sandbox environment consisting of:

PATH=/bin:/usr/bin:/sbin:/usr/sbin

and several  MONIT_* variables which inform the program being
executed about the event and allow to customize the according to
context.

It is possible that your command line environment contains extra
environment variables which are required by mongrel configuration,
which are not set when starting via monit. You can add these
variables to the startup script.


Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]