aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Acmeman/Source/Apache.pm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2019-09-11 14:37:23 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2019-09-11 14:41:48 +0300
commitda90b094e7973bc4b7dedcd5cad086dc1d7a8fee (patch)
treef19efa8c78e2c4a0ee6cf6e37d1a55f24c7919bf /lib/App/Acmeman/Source/Apache.pm
parentadf16c29939378f3eaa716239da53bb7e3ef6283 (diff)
downloadacmeman-2.01.tar.gz
acmeman-2.01.tar.bz2
Bugfixes.v2.01
* Changes: Update * Makefile.PL: Require Config::Parser. * lib/App/Acmeman.pm: Implement the --version option. * lib/App/Acmeman/Source/Apache.pm (scan): Set core.postrenew from layout, if it is not set explicitly. * lib/App/Acmeman/Source/File.pm (scan): Fix inverted logic (load returns false on error.
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.