diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-07-17 11:18:37 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-07-17 11:24:21 +0300 |
commit | 6cb0e3c6b9c7b148081a707e905635d4cfd963a5 (patch) | |
tree | 20abe6cf7bd35d4375e1b16278032bed902ffe69 | |
parent | c4e539cf7b31c8938ea471419e42f79a87cfb4ea (diff) | |
download | acmeman-6cb0e3c6b9c7b148081a707e905635d4cfd963a5.tar.gz acmeman-6cb0e3c6b9c7b148081a707e905635d4cfd963a5.tar.bz2 |
Version 1.06v1.06
* lib/App/Acmeman/Source/Apache.pm (probe): Prefer apachectl over httpd
(follow-up from Apache::Defaults)
* acmeman: Version 1.06
* Changes: Update
-rw-r--r-- | Changes | 6 | ||||
-rwxr-xr-x | acmeman | 4 | ||||
-rw-r--r-- | lib/App/Acmeman/Source/Apache.pm | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ | |||
1 | 1.06 2018-07-17 | ||
2 | |||
3 | * New source: "file" | ||
4 | * Simplify DNS code | ||
5 | * Improve detection of Apache default settings | ||
6 | |||
1 | 1.05 2018-04-17 | 7 | 1.05 2018-04-17 |
2 | 8 | ||
3 | * null source | 9 | * null source |
@@ -33,14 +33,14 @@ use Socket qw(inet_ntoa); | |||
33 | use Sys::Hostname; | 33 | use Sys::Hostname; |
34 | use Pod::Usage; | 34 | use Pod::Usage; |
35 | use Pod::Man; | 35 | use Pod::Man; |
36 | use Getopt::Long qw(:config gnu_getopt no_ignore_case); | 36 | use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_version); |
37 | use POSIX qw(strftime time floor); | 37 | use POSIX qw(strftime time floor); |
38 | use App::Acmeman::Config; | 38 | use App::Acmeman::Config; |
39 | use App::Acmeman::Domain qw(:files); | 39 | use App::Acmeman::Domain qw(:files); |
40 | use Data::Dumper; | 40 | use Data::Dumper; |
41 | use Text::ParseWords; | 41 | use Text::ParseWords; |
42 | 42 | ||
43 | our $VERSION = '1.05'; | 43 | our $VERSION = '1.06'; |
44 | 44 | ||
45 | =head1 NAME | 45 | =head1 NAME |
46 | 46 | ||
diff --git a/lib/App/Acmeman/Source/Apache.pm b/lib/App/Acmeman/Source/Apache.pm index c84aea6..2041bb1 100644 --- a/lib/App/Acmeman/Source/Apache.pm +++ b/lib/App/Acmeman/Source/Apache.pm | |||
@@ -266,7 +266,7 @@ EOT | |||
266 | 266 | ||
267 | sub probe { | 267 | sub probe { |
268 | my ($self, @servlist) = @_; | 268 | my ($self, @servlist) = @_; |
269 | @servlist = qw(/usr/sbin/httpd /usr/sbin/apache2) | 269 | @servlist = qw(/usr/sbin/apachectl /usr/sbin/httpd /usr/sbin/apache2) |
270 | unless (@servlist); | 270 | unless (@servlist); |
271 | open(my $nullout, '>', File::Spec->devnull); | 271 | open(my $nullout, '>', File::Spec->devnull); |
272 | open(my $nullin, '<', File::Spec->devnull); | 272 | open(my $nullin, '<', File::Spec->devnull); |