]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
re-add cmd_httpd
authorDylan William Hardison <dylan@hardison.net>
Fri, 15 Sep 2017 17:19:34 +0000 (13:19 -0400)
committerGitHub <noreply@github.com>
Fri, 15 Sep 2017 17:19:34 +0000 (13:19 -0400)
also fix some whitespace

scripts/entrypoint.pl

index c395511318a5988e433ee9915de3bdbe326b2644..faec2571963bbf623c51d615e1743ee7925f1062 100755 (executable)
@@ -38,7 +38,7 @@ $func->(@ARGV);
 sub cmd_httpd  {
     check_data_dir();
     wait_for_db();
-
+    run( '/usr/sbin/httpd', '-DFOREGROUND', '-f', '/app/httpd/httpd.conf' );
 }
 
 sub cmd_load_test_data {
@@ -249,7 +249,7 @@ sub wait_for_db {
         $dbh = DBI->connect(
             $dsn,
             $c->{db_user},
-            $c->{db_pass}, 
+            $c->{db_pass},
             { RaiseError => 0, PrintError => 0 }
         );
         last if $dbh;