fix(gateway): clarify systemd service scope · openclaw/openclaw@97d35f4
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -64,6 +64,7 @@ Docs: https://docs.openclaw.ai
|
64 | 64 | |
65 | 65 | ### Fixes |
66 | 66 | |
| 67 | +- Gateway/status: label Linux managed gateway services as `systemd user`, making status output explicit about the user-service scope instead of implying a system-level unit. Thanks @vincentkoc. |
67 | 68 | - Plugins/install: remove the previous managed plugin directory when a reinstall switches sources, so stale ClawHub and npm copies no longer keep duplicate plugin ids in discovery after the new install wins. Thanks @vincentkoc. |
68 | 69 | - Plugins/install: let official plugin reinstall recovery repair source-only installed runtime shadows, so `openclaw plugins install npm:@openclaw/discord --force` can replace the bad package instead of stopping at stale config validation. Thanks @vincentkoc. |
69 | 70 | - Plugins/commands: allow the official ClawHub Codex plugin package to keep reserved `/codex` command ownership, matching the existing npm-managed Codex package behavior. Thanks @vincentkoc. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -41,7 +41,7 @@ function createService(overrides: Partial<GatewayService> = {}): GatewayService
|
41 | 41 | describe("resolveGatewayService", () => { |
42 | 42 | it.each([ |
43 | 43 | { platform: "darwin" as const, label: "LaunchAgent", loadedText: "loaded" }, |
44 | | -{ platform: "linux" as const, label: "systemd", loadedText: "enabled" }, |
| 44 | +{ platform: "linux" as const, label: "systemd user", loadedText: "enabled" }, |
45 | 45 | { platform: "win32" as const, label: "Scheduled Task", loadedText: "registered" }, |
46 | 46 | ])("returns the registered adapter for $platform", ({ platform, label, loadedText }) => { |
47 | 47 | setPlatform(platform); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -262,7 +262,7 @@ const GATEWAY_SERVICE_REGISTRY: Record<SupportedGatewayServicePlatform, GatewayS
|
262 | 262 | readRuntime: readLaunchAgentRuntime, |
263 | 263 | }, |
264 | 264 | linux: { |
265 | | -label: "systemd", |
| 265 | +label: "systemd user", |
266 | 266 | loadedText: "enabled", |
267 | 267 | notLoadedText: "disabled", |
268 | 268 | stage: ignoreServiceWriteResult(stageSystemdService), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。