Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: start Mojolicious::Commands application daemon on localhost

by repellent (Priest)
on Feb 13, 2012 at 07:04 UTC ( #953410=note: print w/ replies, xml ) Need Help??


in reply to start Mojolicious::Commands application daemon on localhost

See the source of Mojolicious::Command::daemon:

somemojoapp daemon -l http://localhost:80


Comment on Re: start Mojolicious::Commands application daemon on localhost
Download Code
Re^2: start Mojolicious::Commands application daemon on localhost
by Anonymous Monk on Feb 13, 2012 at 19:44 UTC

    Thank you.

    Apparently  appname -help daemon will print that stuff out

    and appname -l http://localhost:80/ will work start listening on localhost only

      I am new to Mojolicious (and also Plack), and I like what I see. I am currently running my Apps on a Virtual Dedicated host with Apache 2.2 and mod_fastcgi. But my web framework is "homegrown", and I really need the middleware that these offer.

      My problem is using the server that is provided (Mojo's or plackup). They call them daemons, but they do not run in detached bg as Apache (httpd) does, but instead tie up a terminal.

      What am I missing? I can't believe such beautiful software would be run that way in production.

      Thanks, Ray

        Never mind. I've discovered hypnotoad, and it appears to do what I need in production.

        Thanks just the same. Ray

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-22 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls