Merge branch 'og-autoload' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-autoload

This commit is contained in:
Oliver Gorwits
2014-06-30 22:50:40 +01:00

View File

@@ -66,6 +66,8 @@ Daemon::Control->new({
stderr_file => file($log_dir, 'netdisco-web.log'), stderr_file => file($log_dir, 'netdisco-web.log'),
stdout_file => file($log_dir, 'netdisco-web.log'), stdout_file => file($log_dir, 'netdisco-web.log'),
redirect_before_fork => 0, redirect_before_fork => 0,
((scalar grep { $_ =~ m/port/ } @args) ? ()
: (uid => $uid, gid => $gid)),
})->run; })->run;
# the guts of this are borrowed from Plack::Loader::Restarter - many thanks!! # the guts of this are borrowed from Plack::Loader::Restarter - many thanks!!