summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DaemonControl.pm3
-rw-r--r--Bugzilla/Quantum.pm7
-rw-r--r--Bugzilla/Quantum/Static.pm4
3 files changed, 11 insertions, 3 deletions
diff --git a/Bugzilla/DaemonControl.pm b/Bugzilla/DaemonControl.pm
index 2c6df1b87..43461b5ec 100644
--- a/Bugzilla/DaemonControl.pm
+++ b/Bugzilla/DaemonControl.pm
@@ -103,7 +103,8 @@ sub run_httpd {
# we have to setsid() to make a new process group
# or else apache will kill its parent.
setsid();
- my @command = ( HTTPD_BIN, '-DFOREGROUND', '-f' => HTTPD_CONFIG, @args );
+ warn "ignoring args: @args";
+ my @command = ( $^X, '/app/scripts/bugzilla_quantum', 'daemon', "--listen=http://*:$ENV{PORT}" );
exec @command
or die "failed to exec $command[0] $!";
},
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm
index 7cfed59c6..7270ada55 100644
--- a/Bugzilla/Quantum.pm
+++ b/Bugzilla/Quantum.pm
@@ -66,6 +66,13 @@ rewrite => 1,
$r->any('/')->to('Legacy#index_cgi');
+ $r->get(
+ '/__lbheartbeat__' => sub {
+ my $c = shift;
+ $c->reply->file($c->app->home->child('__lbheartbeat__'));
+ },
+ );
+
my $urlbase = Bugzilla->localconfig->{urlbase};
$r->get(
'/quicksearch.html' => sub {
diff --git a/Bugzilla/Quantum/Static.pm b/Bugzilla/Quantum/Static.pm
index 2a4ed1988..2bd0555e2 100644
--- a/Bugzilla/Quantum/Static.pm
+++ b/Bugzilla/Quantum/Static.pm
@@ -24,9 +24,9 @@ sub file {
return $self->SUPER::file($legacy_rel);
}
else {
- warn "legacy $rel\n";
+ warn "mojo $rel\n";
return $self->SUPER::file($rel);
}
}
-1; \ No newline at end of file
+1;