many small fixes to packaging and daemons after testing

This commit is contained in:
Oliver Gorwits
2013-03-05 21:38:18 +00:00
parent 639366c324
commit 5390b99a12
9 changed files with 33 additions and 16 deletions

View File

@@ -22,8 +22,9 @@ use App::Netdisco::Daemon::Queue ':all';
# needed to quench AF_INET6 symbol errors
use NetAddr::IP::Lite ':lower';
use MCE;
use Role::Tiny::With;
use MCE::Signal '-setpgrp';
use MCE;
# set temporary MCE files' location in home directory
my $home = ($ENV{NETDISCO_HOME} || $ENV{HOME});

View File

@@ -32,8 +32,8 @@ mkdir $log_dir if ! -d $log_dir;
Daemon::Control->new({
name => 'Netdisco Web',
program => 'plackup',
program_args => [@args, $netdisco->stringify],
program => 'starman',
program_args => ['--disable-keepalive', @args, $netdisco->stringify],
pid_file => file($home, 'netdisco-web.pid'),
stderr_file => file($log_dir, 'netdisco-web.log'),
stdout_file => file($log_dir, 'netdisco-web.log'),