http://qs321.pair.com?node_id=953410


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