fix: use gateway subcommand for launchd

This commit is contained in:
Peter Steinberger
2026-01-22 05:42:58 +00:00
parent a2981c5a2c
commit 5ff4ac7fb7

View File

@@ -115,7 +115,7 @@ extension GatewayLaunchAgentManager {
quiet: Bool) async -> CommandResult
{
let command = CommandResolver.clawdbotCommand(
subcommand: "daemon",
subcommand: "gateway",
extraArgs: self.withJsonFlag(args),
// Launchd management must always run locally, even if remote mode is configured.
configRoot: ["gateway": ["mode": "local"]])