Great conversation starter. 

Many of us had to take down that route. Eventually, we settle on a 
deployment solution that works for us, and we can move on with dev'ing. I'm 
sure all the answers are worthy. Please allow me to share my solution to 
this problem. It may not work for everyone, but it works for me. 

It can be summarized as follow: Runit supervisor + Boot. 

More information here: 

https://github.com/danielsz/boot-runit

Note: this is the solution I came up with after experimenting with the 
strategies outlined in Ryan's blog post. 
http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/

Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary 
'boot dev-run' and 'boot prod-run').

Runit is a Unix classic (as in "an outstanding example of a particular 
style"), and Boot is quickly becoming a Clojure classic.

More examples 
here: https://github.com/danielsz/system/blob/master/examples/boot/build.boot


On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote:
>
> Hi,
>
> I am venturing into new territory using http-kit, as I usually use a 
> 'managed' web server container like tomcat and have a few questions about 
> packing and running a JAR file:
>
>  - are there are convenient service wrappers for windows and/or Linux
>  - any best practice around managing class path for things like logback.xml
>
> I have a jar created from lein uberjar and java -jar the.jar works, but 
> this seems a long way away from automated deployment :).
>
> Any advice welcome - thanks!
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to