feat: fold gateway service commands into gateway

This commit is contained in:
Peter Steinberger committed 2026-01-21 17:45:26 +00:00
1 parent 6f58d508b8
commit 9e22f019db
27 files changed
+166 -88

No files matched your search

+4 -4
View File
@@ -68,21 +68,21 @@ export function renderGatewayServiceStopHints(env: NodeJS.ProcessEnv = process.e
switch (process.platform) {
case "darwin":
return [
`Tip: ${formatCliCommand("clawdbot daemon stop")}`,
`Tip: ${formatCliCommand("clawdbot gateway stop")}`,
`Or: launchctl bootout gui/$UID/${resolveGatewayLaunchAgentLabel(profile)}`,
];
case "linux":
return [
`Tip: ${formatCliCommand("clawdbot daemon stop")}`,
`Tip: ${formatCliCommand("clawdbot gateway stop")}`,
`Or: systemctl --user stop ${resolveGatewaySystemdServiceName(profile)}.service`,
];
case "win32":
return [
`Tip: ${formatCliCommand("clawdbot daemon stop")}`,
`Tip: ${formatCliCommand("clawdbot gateway stop")}`,
`Or: schtasks /End /TN "${resolveGatewayWindowsTaskName(profile)}"`,
];
default:
return [`Tip: ${formatCliCommand("clawdbot daemon stop")}`];
return [`Tip: ${formatCliCommand("clawdbot gateway stop")}`];
}
}