Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-08 Thread Alex Ott
I've used Apache Commons Daemon in my projects On windows I had following registration .bat to run it as service: @echo off cd /D "$INSTALL_PATH\sbin" SET UHOME=$INSTALL_PATH SET UMAINCLASS=myprog.main SET ULOGDIR=%UHOME%\var\log MKDIR %UHOME%\var\tmp\myprog\ MKDIR %ULOGDIR% %UHOME%\sbin\%PROC

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Tal Liron
On Wednesday, September 7, 2011 1:53:43 PM UTC-5, Marko Kocić wrote: > > Thanks for the tip about jsvc. I'll give it a try. Do you have some script > examples to share, since having Linux service is exactly what I need? I strongly recommend Tanuki's wrapper over jsvc: http://wrapper.tanukisoftw

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Aaron Bedra
On 09/07/2011 02:53 PM, Marko Kocić wrote: Thanks for the tip about jsvc. I'll give it a try. Do you have some script examples to share, since having Linux service is exactly what I need? Thanks, Marko I'll try and put together a few things including the code that implements the interface to

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Marko Kocić
Thanks for the tip about jsvc. I'll give it a try. Do you have some script examples to share, since having Linux service is exactly what I need? Thanks, Marko -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Aaron Bedra
I have used jsvc in the past and found it to be a great tool. It allows you to configure which user the application runs as, and does proper detaching. It allows you to configure output streams and pid files to your liking. I have written some simple init scripts as well to make it very unix ser

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Bronsa
the lein-daemon plugin seems to do that Il giorno 07/set/2011 16.27, "Marko Kocić" ha scritto: > While we are at this topic, how do you run Clojure deamons. Do you have some > scripts to set it up how? > Is there a simple way to daemonize lein project? > > Regards, > Marko > > -- > You received th

Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Marko Kocić
While we are at this topic, how do you run Clojure deamons. Do you have some scripts to set it up how? Is there a simple way to daemonize lein project? Regards, Marko -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email