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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general