title: How can I run mojolicious under Win32::Daemon?
body: <p>I'm trying to run mojolicious as a Windows Service using Win32::Daemon, but I don't know how to return from the start callback after starting the mojo app. The mojo app begins to listen but the Windows Service Controller assumes the start failed because you never reach the return statement.</p>
  
  <pre><code>sub Callback_Start
  {
      my( $Event, $Context ) = @_;
  
      app-&gt;start; # &lt;-- code hangs here
  
      $Context-&gt;{last_state} = SERVICE_RUNNING;
      Win32::Daemon::State( SERVICE_RUNNING );
      return();
  }
  </code></pre>
  
  <p>Is it possible to start the Mojo server in a non-blocking way?</p>