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
6061d5f8
Commit
6061d5f8
authored
Sep 24, 2014
by
Till Brehm
Browse files
Services were not restarted correctly after install on CentOS 7.
parent
c43c293b
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
6061d5f8
...
...
@@ -2302,7 +2302,7 @@ class installer_base {
public
function
getinitcommand
(
$servicename
,
$action
,
$init_script_directory
=
''
){
global
$conf
;
// systemd
if
(
is_executable
(
'/bin/systemd'
)){
if
(
is_executable
(
'/bin/systemd'
)
||
is_executable
(
'/usr/bin/systemctl'
)
){
return
'systemctl '
.
$action
.
' '
.
$servicename
.
'.service'
;
}
// upstart
...
...
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