Commit 5686edb5 authored by Till Brehm's avatar Till Brehm
Browse files

Apache binary is not recognized correctly on CentOS 7 in http restart method.

parent f02be967
......@@ -203,7 +203,7 @@ class web_module {
$daemon = $web_config['server_type'];
break;
default:
if(is_file($conf['init_scripts'] . '/' . 'httpd')) {
if(is_file($conf['init_scripts'] . '/' . 'httpd') || is_dir('/etc/httpd')) {
$daemon = 'httpd';
} else {
$daemon = 'apache2';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment