On Mon, 17 Jun 2013, Michael Soulier wrote:
> Hi,
>
> I'd like to supervise a mojolicious daemon providing a service using runit,
> so the service cannot fork or runsv will simply return.
>
> But, I'd like to handle concurrent requests if possible. Can prefork or
> Hypnotoad be told to not fork the parent process?
Have you tried "--foreground"?
[charlieb@localhost ~]$ hypnotoad --help
usage: /usr/bin/hypnotoad [OPTIONS] [APPLICATION]
hypnotoad script/myapp
hypnotoad
myapp.pl
These options are available:
--config <path> Configuration file, defaults to "hypnotoad.conf" in
the
same directory as the application script.
--foreground Keep manager process in foreground.
--help Show this message.
--test Test application/configuration and exit.
[charlieb@localhost ~]$
Found via:
http://www.perlmonks.org/?node_id=979855