Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
5686edb5
Commit
5686edb5
authored
Sep 22, 2014
by
Till Brehm
Browse files
Apache binary is not recognized correctly on CentOS 7 in http restart method.
parent
f02be967
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/web_module.inc.php
View file @
5686edb5
...
...
@@ -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'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment