Hi, I'm trying to figure out how to create a start program command for which I 
would type the following at the command line;

cd /var/www/soindustry/current
export RAILS_ENV=production script/workling_client start

The problem is that I need Monit to start a task using the 'export 
RAILS_ENV=production'. Presumably the above example would also be the same as;

export RAILS_ENV=production /var/www/soindustry/current/script/workling_client 
start

Thanks

_________________________________________________________________
Beyond Hotmail — see what else you can do with Windows Live.
http://clk.atdmt.com/UKM/go/134665375/direct/01/
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to