aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Acmeman/Source/Apache.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Acmeman/Source/Apache.pm')
-rw-r--r--lib/App/Acmeman/Source/Apache.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/App/Acmeman/Source/Apache.pm b/lib/App/Acmeman/Source/Apache.pm
index 042956a..ae9c342 100644
--- a/lib/App/Acmeman/Source/Apache.pm
+++ b/lib/App/Acmeman/Source/Apache.pm
@@ -31,7 +31,8 @@ sub layout { shift->{_layout} }
sub scan {
my ($self) = @_;
debug(2, 'assuming Apache layout "'.$self->layout->name.'"');
- $self->set(qw(core postrenew), $self->layout->restart_command);
+ $self->set(qw(core postrenew), $self->layout->restart_command)
+ unless $self->cfg->is_set(qw(core postrenew));
return $self->examine_http_config($self->layout->config_file);
}

Return to:

Send suggestions and report system problems to the System administrator.