mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
Fix services panel: correct services, live refresh loop, last-updated timestamp in footer
This commit is contained in:
@@ -89,7 +89,7 @@ function getNetworkIO(): array {
|
||||
}
|
||||
|
||||
function getServices(): array {
|
||||
$services = ['apache2', 'mysql'];
|
||||
$services = ["lshttpd","mysql","redis","memcached","postfix","dovecot","jarvis-agent"];
|
||||
$result = [];
|
||||
foreach ($services as $svc) {
|
||||
$out = shell_exec('systemctl is-active ' . escapeshellarg($svc) . ' 2>/dev/null');
|
||||
|
||||
Reference in New Issue
Block a user