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
ISPConfig
ISPConfig 3
Commits
cdb2c68b
Commit
cdb2c68b
authored
Feb 03, 2015
by
Marius Cramer
Browse files
- fixed unlinking of hhvm init script
parent
9b0ee8d9
Changes
1
Show whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
cdb2c68b
...
...
@@ -2778,7 +2778,7 @@ class apache2_plugin {
}
elseif
(
$data
[
'new'
][
'php'
]
!=
'hhvm'
&&
$data
[
'old'
][
'php'
]
==
'hhvm'
)
{
exec
(
'/etc/init.d/hhvm_'
.
$data
[
'old'
][
'system_user'
]
.
' stop >/dev/null 2>&1'
);
exec
(
'/usr/sbin/update-rc.d hhvm_'
.
$data
[
'old'
][
'system_user'
]
.
' remove >/dev/null 2>&1'
);
unlink
(
'/etc/init.d/hhvm_'
.
$data
[
'old'
][
'system_user'
]
.
' >/dev/null 2>&1'
);
unlink
(
'/etc/init.d/hhvm_'
.
$data
[
'old'
][
'system_user'
]);
}
}
...
...
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