On Sun, Aug 18, 2013 at 9:21 AM, John Jacobsen <eigenhom...@gmail.com> wrote:
> My main concern was just the need to ssh into the server and run leiningen in 
> the background, as opposed to setting up a "real" server which starts at boot 
> time.  I'm OK w/ wrapping 'lein ring server-headless' with Apache/Nginx, if 
> there are no known issues w/ that approach.

We have a number of processes that we kick off via lein-daemon. We
have a standard shell script that mimics standard 'service' operations
(start, stop, status, restart) and wraps 'lein daemon ...' commands,
and we just symlink it into /etc/init.d to create service files so our
processes launch at server startup, and we can stop/start them as
needed around deploys.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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

Reply via email to