I don't know how to configure an init script, but I just run the command `java -jar mywebserver.jar` in a tmux session manually and then detach.
For how to setup an uberjar to run a web server, there's a nice tutorial on clojure-doc. You just need to make sure you have your :main class specified in project.clj and have :gen-class on the right files. Check out the deploy your webapp section: http://clojure-doc.org/articles/tutorials/basic_web_development.html On Wednesday, December 18, 2013 2:35:11 PM UTC-8, Curtis Gagliardi wrote: > > I build an uberjar of a web server that uses jetty with compojure and run > it on port 3000, then I have nginx configured to proxy it like so: > > https://gist.github.com/cgag/8031034 > -- -- 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/groups/opt_out.