We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e7328 commit e3139e2Copy full SHA for e3139e2
server/mods-available/web_module.inc.php
@@ -203,7 +203,7 @@ function restartHttpd($action = 'restart') {
203
$daemon = $web_config['server_type'];
204
break;
205
default:
206
- if(is_file($conf['init_scripts'] . '/' . 'httpd24-httpd') || is_dir('/opt/rh/httpd24/root/etc/httpd') {
+ if(is_file($conf['init_scripts'] . '/' . 'httpd24-httpd') || is_dir('/opt/rh/httpd24/root/etc/httpd')) {
207
$daemon = 'httpd24-httpd';
208
} elseif(is_file($conf['init_scripts'] . '/' . 'httpd') || is_dir('/etc/httpd')) {
209
$daemon = 'httpd';
0 commit comments