On Wed, May 16, 2012 at 3:13 AM, Murtaza Husain <murtaza.hus...@sevenolives.com> wrote: > Is there a lein plugin which can > monitor and restart the app if it is down ( such as nodejs's forever) ?
I just noticed this part of your question. In your context (EC2) it should be exceedingly simple do write a bash script that would do this. Use curl or wget or something to retrieve the landing page, and if it responds with an error code cd into the directory and run your start up command. Throw that in cron and you should be good to go. Of course pingdom or the other services mentioned here could still be useful to actually notify you when it has gone down. -- 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