You can create script and set the environment in it.

Martin


On Jan 21, 2008, at 9:10 PM, Blasfamous Tshirts wrote:

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 <[EMAIL PROTECTED]> 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



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to