fix: update system.php service list for JARVIS VM (nginx/php-fpm/mariadb/redis/arc/agent)

This commit is contained in:
2026-06-18 04:18:07 +00:00
parent b7aea1371c
commit 5140573be0
+1 -1
View File
@@ -89,7 +89,7 @@ function getNetworkIO(): array {
} }
function getServices(): array { function getServices(): array {
$services = ["lshttpd","mysql","redis","memcached","postfix","dovecot","jarvis-agent"]; $services = ["nginx","php8.3-fpm","mariadb","redis-server","jarvis-arc","jarvis-agent"];
$result = []; $result = [];
foreach ($services as $svc) { foreach ($services as $svc) {
$out = shell_exec('systemctl is-active ' . escapeshellarg($svc) . ' 2>/dev/null'); $out = shell_exec('systemctl is-active ' . escapeshellarg($svc) . ' 2>/dev/null');