Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Jun 18, 2014
1 parent 488796f commit 7dbb705
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.psgi
Expand Up @@ -53,7 +53,7 @@ my $app = Plack::App::URLMap->new;
$core_app,
session_key => 'metacpan_secure',
expires => 2**30,
secure => ($ENV{PLACK_ENV} ne 'development'),
secure => ( $ENV{PLACK_ENV} ne 'development' ),
httponly => 1,
);

Expand Down
8 changes: 4 additions & 4 deletions bin/daemon-control.pl
Expand Up @@ -16,14 +16,14 @@
pid => "$home/var/run",
log => "$home/var/log",
);
my $carton = '/usr/local/perlbrew/perls/perl-5.16.2/bin/carton';
my $workers = 7;
my $carton = '/usr/local/perlbrew/perls/perl-5.16.2/bin/carton';
my $workers = 7;
my $plack_env = 'production';

# If running in the development vm change the user to avoid permission problems.
if ( -d '/vagrant' ) {
$user = 'vagrant';
$workers = 3;
$user = 'vagrant';
$workers = 3;
$plack_env = 'development';
}

Expand Down

0 comments on commit 7dbb705

Please sign in to comment.