mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 22:08:11 -04:00
Waiting for service startup. (#328)
This commit is contained in:
parent
7e2e88c8b3
commit
50d13ca79b
2 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue