Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2023-05-28 03:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found