refactor: rename to openclaw
This commit is contained in:
@@ -64,25 +64,25 @@ export function extractGatewayMiskeys(parsed: unknown): {
|
||||
}
|
||||
|
||||
export function renderGatewayServiceStopHints(env: NodeJS.ProcessEnv = process.env): string[] {
|
||||
const profile = env.CLAWDBOT_PROFILE;
|
||||
const profile = env.OPENCLAW_PROFILE;
|
||||
switch (process.platform) {
|
||||
case "darwin":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: launchctl bootout gui/$UID/${resolveGatewayLaunchAgentLabel(profile)}`,
|
||||
];
|
||||
case "linux":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: systemctl --user stop ${resolveGatewaySystemdServiceName(profile)}.service`,
|
||||
];
|
||||
case "win32":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: schtasks /End /TN "${resolveGatewayWindowsTaskName(profile)}"`,
|
||||
];
|
||||
default:
|
||||
return [`Tip: ${formatCliCommand("moltbot gateway stop")}`];
|
||||
return [`Tip: ${formatCliCommand("openclaw gateway stop")}`];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user