Ubic::Service::Starman

Helper for running psgi applications with Starman
Download

Ubic::Service::Starman Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • William Wolf
  • Publisher web site:
  • http://search.cpan.org/~wwolf/

Ubic::Service::Starman Tags


Ubic::Service::Starman Description

Ubic::Service::Starman is a common ubic wrap for psgi applications. It uses starman for running these applications.It is a very simple wrapper around Ubic::Service::Plack that uses starman as the binary instead of plackup. It defaults the server argument to 'Starman' so you don't have to pass it in, and adds the ability to reload (which will gracefully restart your Starman workers without any connections lost) using ubic reload service_name.SYNOPSIS use Ubic::Service::Starman; return Ubic::Service::Starman->new({ server_args => { listen => "/tmp/app.sock", }, app => "/var/www/app.psgi", status => sub { ... }, port => 4444, ubic_log => '/var/log/app/ubic.log', stdout => '/var/log/app/stdout.log', stderr => '/var/log/app/stderr.log', user => "www-data", });Product's homepage


Ubic::Service::Starman Related Software