Hello all,

I'd like to perform some start-up initializations only when running a 
daemon and not when running other commands via the application's CLI. 
 What's the best/most elegant/textbook example way of achieving this? 
 startup() doesn't do as this gets called in any case.  I'm looking for a 
means of differentiation which will work regardless of whether the 
application is run via Mojolicious::Server::Morbo or 
Mojolicious::Server::Daemon (or any other server for that matter).


Thanks in advance,

Marco

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to