Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ea0194c6c | |||
| fb3ba3f2c1 |
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "linux-patch-api"
|
||||
version = "0.3.9"
|
||||
version = "0.3.10"
|
||||
edition = "2021"
|
||||
authors = ["Echo <echo@moon-dragon.us>"]
|
||||
description = "Secure remote package management API for Linux systems"
|
||||
|
||||
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
linux-patch-api (0.3.10-1) unstable; urgency=low
|
||||
|
||||
* Fix socket activation detection for service status healthy logic
|
||||
* When service is inactive but enabled, check if .socket unit is active
|
||||
|
||||
-- Echo <echo@moon-dragon.us> Mon, 05 May 2026 13:10:00 -0500
|
||||
|
||||
linux-patch-api (0.3.9-1) unstable; urgency=low
|
||||
|
||||
* Fix socket activation detection for service status healthy logic
|
||||
|
||||
@ -568,7 +568,6 @@ fn get_systemd_service_status(name: &str) -> Result<Option<ServiceStatus>> {
|
||||
|
||||
let healthy = active_state == "active" && sub_state == "running";
|
||||
|
||||
|
||||
// Check for socket activation: if service is inactive but enabled,
|
||||
// check if the corresponding .socket unit is active (listening)
|
||||
let healthy = if !healthy && active_state == "inactive" && unit_file_state == "enabled" {
|
||||
|
||||
Reference in New Issue
Block a user