diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-09-11 14:37:23 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-09-11 14:41:48 +0300 |
commit | da90b094e7973bc4b7dedcd5cad086dc1d7a8fee (patch) | |
tree | f19efa8c78e2c4a0ee6cf6e37d1a55f24c7919bf /lib/App/Acmeman/Source/Apache.pm | |
parent | adf16c29939378f3eaa716239da53bb7e3ef6283 (diff) | |
download | acmeman-da90b094e7973bc4b7dedcd5cad086dc1d7a8fee.tar.gz acmeman-da90b094e7973bc4b7dedcd5cad086dc1d7a8fee.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.pm | 3 |
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); } |