I see in Cookbook this standalone M::L app running under hypnotoad.

...
use Mojolicious::Lite;

app->config(hypnotoad => {listen => ['http://*:80']});

get '/' => {text => 'Hello Wor...ALL GLORY TO THE HYPNOTOAD!'};

app->start;
...

I want to do something very similar, but using prefork mode (to behave 
nicely under runit supervision, where the parent process is expected to 
survive until terminated).

I can't find a way to configure mode and options in-line, rather than 
provided via @ARGV.

Thanks for your advice...

Reply via email to