Add GET /api/v1/system/services/{name} endpoint for service health checks
- Add ServiceStatus struct with name, display_name, active_state, sub_state,
load_state, enabled_state, main_pid, healthy fields
- Add get_service_status() to PackageManagerBackend trait
- Implement get_service_status() in AptBackend with systemd and OpenRC support
- Add get_service_status HTTP handler in system.rs
- Add /system/services/{name} route
- Add E2E test for service status endpoint
- Bump version to 0.3.6
This commit is contained in:
BIN
tests/e2e/__pycache__/test_e2e.cpython-313.pyc
Normal file
BIN
tests/e2e/__pycache__/test_e2e.cpython-313.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user