mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Waiting for service startup. (#328)
This commit is contained in:
committed by
Franco Fichtner
parent
7e2e88c8b3
commit
50d13ca79b
+1
-1
@@ -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());
|
||||
|
||||
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user