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 f02be96 commit 5686edbCopy full SHA for 5686edb
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'] . '/' . 'httpd')) {
+ if(is_file($conf['init_scripts'] . '/' . 'httpd') || is_dir('/etc/httpd')) {
207
$daemon = 'httpd';
208
} else {
209
$daemon = 'apache2';
0 commit comments