mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 00:50:29 +00:00
Clean up serviceLog output
This commit is contained in:
parent
19fe43466e
commit
f61e1b5c1a
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ function DisplayRestAPI()
|
|||
$serviceStatus = !empty($output) ? "up" : "down";
|
||||
|
||||
exec("sudo systemctl status restapi.service", $output, $return);
|
||||
array_shift($output);
|
||||
$serviceLog = implode("\n", $output);
|
||||
|
||||
echo renderTemplate("restapi", compact(
|
||||
|
|
Loading…
Reference in a new issue