Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment