fix: show stopped services in list + loading bar on action
- API: --all flag in systemctl list-units to show inactive services - API: removed head -50 limit - Android: LinearProgressIndicator while service action is running
This commit is contained in:
@@ -573,7 +573,7 @@ class ApiController
|
||||
throw new \RuntimeException('SSH connection failed');
|
||||
}
|
||||
|
||||
$output = $ssh->exec('systemctl list-units --type=service --no-pager --no-legend 2>/dev/null | head -50');
|
||||
$output = $ssh->exec('systemctl list-units --type=service --all --no-pager --no-legend 2>/dev/null');
|
||||
$ssh->disconnect();
|
||||
|
||||
$services = [];
|
||||
|
||||
Reference in New Issue
Block a user