Hi, On Tue, Jan 15, 2013 at 6:59 PM, Peter Eberl <p...@eberl.com> wrote: > Now I'm testing all the stuff that's involved and needs to get tackled. > One thing I'm currently trying to figure out: how to get the server to > run in daemon mode.
It really depends on what you use to start your app. If you use plackup, then the --daemonize option will do it, if the server supports it (Starman does, and it is my default recommendation). You might also look at Server::Starter. What you have to remember, Mason, Poet, they are just another PSGI app, so all the knowledge on how to start a PSGI app applies to Mason/Poet. Search for "how to deamonize a psgi app" for more. > Switching between development and production is done in local.cfg. I'm > currently missing the syntax to be used for getting the complete stuff > to be daemonized -- it should go in production.cfg in the /conf/layer > directory, but I'm lost in the syntax. The daemonization settings are not in the poet configuration, they are in the command line you use to start your app. Each environment you have will need a different local.cfg, specifing the the layer (development, production, etc) to use. Bye, -- Pedro Melo @pedromelo http://www.simplicidade.org/ http://about.me/melo xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users