fix(ui): app run refresh uses effective cgroup
This commit is contained in:
@@ -1994,7 +1994,7 @@ RU: Применяет policy-rules и проверяет health. При оши
|
||||
if last_unit and last_target == target and last_key and last_key == app_key:
|
||||
code, out = self._systemctl_user(["is-active", last_unit])
|
||||
if code == 0 and (out or "").strip().lower() == "active":
|
||||
cg = self._query_control_group_for_unit(last_unit)
|
||||
cg = self._effective_cgroup_for_unit_retry(last_unit, timeout_sec=3.0)
|
||||
self._append_app_log(
|
||||
f"[app] already running: app={app_key} target={target} unit={last_unit} (refreshing mark)"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user