Fix services panel: correct services, live refresh loop, last-updated timestamp in footer

This commit is contained in:
2026-05-30 06:46:26 +00:00
parent 4ab72e50b9
commit f007786fe4
2 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -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');