Commit 829a41fc authored by Nigel Kukard's avatar Nigel Kukard

Fixed apache configtest

parent c5431381
......@@ -26,7 +26,7 @@ package AWIT::CertMaster;
use strict;
use warnings;
our $VERSION = '1.02';
our $VERSION = '1.03';
BEGIN {
......@@ -615,7 +615,7 @@ sub _webserverReloadApache
# Check if the configtest passes
if ($self->{'live'}) {
# Check if Apache config is OK
system('service apache configtest > /dev/null 2>&1');
system('apachectl configtest > /dev/null 2>&1');
if ($? >> 8) {
$self->logger("ERROR","APACHE: Failed configtest, reload NOT done");
return $self;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment