many small fixes to packaging and daemons after testing
This commit is contained in:
@@ -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});
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user