mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
fix: update system.php service list for JARVIS VM (nginx/php-fpm/mariadb/redis/arc/agent)
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user