Skip to content

Commit dabc155

Browse files
committed
fix(systemd): expose reload status in service snapshot
1 parent 904375f commit dabc155

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎src/cli/daemon-cli/status.gather.ts‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import type { ExtraGatewayService, FindExtraGatewayServicesOptions } from "../..
2424
import type { StaleOpenClawUpdateLaunchdJob } from "../../daemon/launchd.js";
2525
import type { ServiceConfigAudit } from "../../daemon/service-audit.js";
2626
import type { GatewayServiceRuntime } from "../../daemon/service-runtime.js";
27-
import type { GatewayServiceLoadState } from "../../daemon/service-types.js";
27+
import type {
28+
GatewayServiceCommandConfig,
29+
GatewayServiceLoadState,
30+
} from "../../daemon/service-types.js";
2831
import { readGatewayServiceState, resolveGatewayService } from "../../daemon/service.js";
2932
import { projectGatewayUrlForDiagnostics } from "../../gateway/connection-details.js";
3033
import { resolveAdvertisedControlUiLinks } from "../../gateway/control-ui-links.js";
@@ -298,12 +301,7 @@ export type DaemonStatus = {
298301
loadedText: string;
299302
notLoadedText: string;
300303
targetRole?: "target" | "diagnostic-only";
301-
command?: {
302-
programArguments: string[];
303-
workingDirectory?: string;
304-
environment?: Record<string, string>;
305-
sourcePath?: string;
306-
} | null;
304+
command?: GatewayServiceCommandConfig | null;
307305
runtime?: GatewayServiceRuntime;
308306
configAudit?: ServiceConfigAudit;
309307
gatewayHeap?: GatewayHeapLimitReport;

0 commit comments

Comments
 (0)