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
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
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
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
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
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
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