mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
fix(gateway): clarify systemd service scope
This commit is contained in:
@@ -64,6 +64,7 @@ Docs: https://docs.openclaw.ai
|
||||
|
||||
### Fixes
|
||||
|
||||
- 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.
|
||||
- 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.
|
||||
- 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.
|
||||
- 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.
|
||||
|
||||
@@ -41,7 +41,7 @@ function createService(overrides: Partial<GatewayService> = {}): GatewayService
|
||||
describe("resolveGatewayService", () => {
|
||||
it.each([
|
||||
{ platform: "darwin" as const, label: "LaunchAgent", loadedText: "loaded" },
|
||||
{ platform: "linux" as const, label: "systemd", loadedText: "enabled" },
|
||||
{ platform: "linux" as const, label: "systemd user", loadedText: "enabled" },
|
||||
{ platform: "win32" as const, label: "Scheduled Task", loadedText: "registered" },
|
||||
])("returns the registered adapter for $platform", ({ platform, label, loadedText }) => {
|
||||
setPlatform(platform);
|
||||
|
||||
@@ -262,7 +262,7 @@ const GATEWAY_SERVICE_REGISTRY: Record<SupportedGatewayServicePlatform, GatewayS
|
||||
readRuntime: readLaunchAgentRuntime,
|
||||
},
|
||||
linux: {
|
||||
label: "systemd",
|
||||
label: "systemd user",
|
||||
loadedText: "enabled",
|
||||
notLoadedText: "disabled",
|
||||
stage: ignoreServiceWriteResult(stageSystemdService),
|
||||
|
||||
Reference in New Issue
Block a user