Waiting for service startup. (#328)

This commit is contained in:
Alexander Shursha 2017-11-23 22:13:45 +03:00 committed by Franco Fichtner
parent 7e2e88c8b3
commit 50d13ca79b
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ class ServiceController extends ApiControllerBase
{
if ($this->request->isPost()) {
$backend = new Backend();
$response = $backend->configdRun("clamav start", true);
$response = $backend->configdRun("clamav start");
return array("response" => $response);
} else {
return array("response" => array());

View file

@ -61,7 +61,7 @@ class ServiceController extends ApiControllerBase
{
if ($this->request->isPost()) {
$backend = new Backend();
$response = $backend->configdRun("cicap start", true);
$response = $backend->configdRun("cicap start");
return array("response" => $response);
} else {
return array("response" => array());