diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-03-14 11:33:14 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-03-14 11:34:12 +0200 |
commit | 0208b90b5142ec3ebd83a0b578911f4a13fbb093 (patch) | |
tree | 6103bc93deb9a9a33a4a1f647025f0d4cec0c450 | |
parent | 914869cd888c3547381a469857d2e7879a529e79 (diff) | |
download | acmeman-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-x | acmeman | 2 | ||||
-rw-r--r-- | lib/App/Acmeman/Apache/Layout.pm | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -42,3 +42,3 @@ use Text::ParseWords; -our $VERSION = '1.08'; +our $VERSION = '1.09'; 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 @@ -27,3 +27,3 @@ my %apache_layout_tab = ( }, - _restart => 'service apache2 restart', + _restart => '/usr/sbin/service apache2 restart', _post_setup => sub { @@ -41,3 +41,3 @@ my %apache_layout_tab = ( _incdir => '/etc/httpd/conf.d', - _restart => 'service httpd restart' + _restart => '/usr/sbin/service httpd restart' }, @@ -47,3 +47,3 @@ my %apache_layout_tab = ( _incdir => '/etc/apache2/conf.d', - _restart => 'service httpd restart' + _restart => '/usr/sbin/service httpd restart' # or systemctl restart apache2.service |