You could probably use upstart or supervisord.

Upstart is available if you are on a newish ubuntu system (and maybe others?).
Supervisord could run on most linuxes I think, although I've only ever
used it on ubuntu.

Hope that helps,
Alex

On Wed, May 16, 2012 at 2:13 AM, Murtaza Husain
<murtaza.hus...@sevenolives.com> wrote:
> Hi,
>
> Currently I am using noir for developing web apps. I am deploying them on an
> EC2 server, by running lein trampoline run in the project directory. I also
> have a nginx in front of it which is handling serving of static files.
>
> I have never had the apps crash, however recently on app was down on one
> fine morning, which was easily restarted ueing lein. How do others monitor
> and deploy clojure web apps in production? Is there a lein plugin which can
> monitor and restart the app if it is down ( such as nodejs's forever) ?
>
> Thanks,
> Murtaza
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to