Skip to content

Instantly share code, notes, and snippets.

@nordicdyno
Created September 3, 2013 11:22
Show Gist options
  • Save nordicdyno/6422593 to your computer and use it in GitHub Desktop.
Save nordicdyno/6422593 to your computer and use it in GitHub Desktop.
use lib '/app/path/elib';
use Ubic::Service::Starman;
return Ubic::Service::Starman->new({
user => "sports",
server_args => {
host => '127.0.0.1',
port => '9000',
},
app => "/home/sports/pg_stat_viewer/app.psgi",
cwd => "/home/sports/pg_stat_viewer",
#status => sub { ... },
#port => 9000,
ubic_log => '/var/log/pg_stat_web/ubic.log',
stdout => '/var/log/pg_stat_web/stdout.log',
stderr => '/var/log/pg_stat_web/stderr.log',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment