Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: start Mojolicious::Commands application daemon on localhost

by repellent (Priest)
on Feb 13, 2012 at 07:04 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://953410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-28 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found