summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DaemonControl.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-20 00:45:58 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commitf5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b (patch)
tree055fdfc7e03b9e6577f1f7fa833f7a29bb81ded2 /Bugzilla/DaemonControl.pm
parent723767dc121db1047e1803998ddbbc6c343b1064 (diff)
downloadbugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.gz
bugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.xz
run mojolicious daemon instead of httpd
Diffstat (limited to 'Bugzilla/DaemonControl.pm')
-rw-r--r--Bugzilla/DaemonControl.pm3
1 files changed, 2 insertions, 1 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] $!";
},