aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-03-14 11:33:14 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-03-14 11:34:12 +0200
commit0208b90b5142ec3ebd83a0b578911f4a13fbb093 (patch)
tree6103bc93deb9a9a33a4a1f647025f0d4cec0c450
parent914869cd888c3547381a469857d2e7879a529e79 (diff)
downloadacmeman-1.09.tar.gz
acmeman-1.09.tar.bz2
Use full path to the service binaryv1.09
* acmeman: Version 1.09 * lib/App/Acmeman/Apache/Layout.pm: Use full path to the service binary
-rwxr-xr-xacmeman2
-rw-r--r--lib/App/Acmeman/Apache/Layout.pm6
2 files changed, 4 insertions, 4 deletions
diff --git a/acmeman b/acmeman
index 85ab491..ec678d7 100755
--- a/acmeman
+++ b/acmeman
@@ -40,7 +40,7 @@ use App::Acmeman::Domain qw(:files);
use Data::Dumper;
use Text::ParseWords;
-our $VERSION = '1.08';
+our $VERSION = '1.09';
=head1 NAME
diff --git a/lib/App/Acmeman/Apache/Layout.pm b/lib/App/Acmeman/Apache/Layout.pm
index 5b763a2..7cc8399 100644
--- a/lib/App/Acmeman/Apache/Layout.pm
+++ b/lib/App/Acmeman/Apache/Layout.pm
@@ -25,7 +25,7 @@ my %apache_layout_tab = (
carp 'none of the expected configuration directories found; falling back to /etc/apache2';
return '/etc/apache2';
},
- _restart => 'service apache2 restart',
+ _restart => '/usr/sbin/service apache2 restart',
_post_setup => sub {
my ($filename) = @_;
my $dir = dirname($filename);
@@ -39,13 +39,13 @@ my %apache_layout_tab = (
rh => {
_config_file => '/etc/httpd/conf/httpd.conf',
_incdir => '/etc/httpd/conf.d',
- _restart => 'service httpd restart'
+ _restart => '/usr/sbin/service httpd restart'
},
suse => {
_config_file => '/etc/apache2/httpd.conf',
_test => sub { ! -f '/etc/apache2/apache2.conf' },
_incdir => '/etc/apache2/conf.d',
- _restart => 'service httpd restart'
+ _restart => '/usr/sbin/service httpd restart'
# or systemctl restart apache2.service
}
);

Return to:

Send suggestions and report system problems to the System administrator.