Randy Schmidt on 22 Jan 2008 07:06:15 -0800


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

Re: [PhillyOnRails] Monit + Mongrel

  • From: "Randy Schmidt" <randy.schmidt@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] Monit + Mongrel
  • Date: Tue, 22 Jan 2008 10:03:49 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zaxkoD3j9dtBFokBUR6HMkReQ7MayckLGKEKC9F0tT0=; b=Cf5Ow6rI55m9mygwWCdVZW1vBcLU465Pk0Tvjt+WUmNl7jgDMtSCVQt1IVXnlNQXPVrQIG/Ar5eoeowNwP484x4/LLSBhMv3W1idIKF1jvTmLvkIQQxf03Qi3oLVIQsdzAo+j6l88LpYplAPc7RH+ojlZ1Sn+EhX2J57eq37B8U=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

> You can do whatever you want in a monit environment via 'env'. For
> example, one of my monit start commands looks like:
>
>   start program = "/usr/bin/sudo -u app /usr/bin/env
> LD_LIBRARY_PATH=/opt/aspell/lib:/opt/freeimage/lib:/opt/mysql5/devel-default/lib/mysql
> PATH=/opt/ruby/default/bin:/opt/sphinx/default/bin:/opt/mysql5/client-default-5.0/bin:/opt/mysql5/devel-default/bin:/opt/aspell/bin:/bin:/usr/bin
> INLINEDIR=/opt/rails/chow/production/current/tmp/inline mongrel_rails
> cluster::start -C
> /opt/rails/chow/production/current/config/mongrel_cluster.production.yml
> --clean --only 10220"

Awesome! Thanks! I'll have to give that a shot. I'm pretty sure I'm
going to have the same problem since it doesn't seem like paths are
the issue with what I currently have. But I'll try going back to
cluster with something similar to what  you have above.

Thanks,
Randy
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk