fix(os): improve service status checking reliability

- Handle specific exit codes for systemd services (inactive/unknown states)
- Add better error handling for init.d services
- Move string conversion before error checking for consistency
- Update log levels for better service state visibility
This commit is contained in:
2026-03-26 16:20:21 +08:00
parent e83436fe9b
commit 61e4ad6ecc
2 changed files with 28 additions and 4 deletions

View File

@@ -68,6 +68,7 @@ For detailed API documentation, please see [docs/api.md](docs/api.md)
- [ ] Fix random database lock when processing logs
- [ ] Add frpc createdBy storage and display
- [x] Fix backend can still start frpc instance when it is already running
- [ ] Develop an agent software to handle windows service management
## License