Skip to content

Commit ee8fe33

Browse files
fix(server): pass the process runner to the systemd unit directory read in bootServiceUnitPath
#25870 added bootServiceUnitPath calling readSystemdUnitDirectory() with no arguments; #29923 had meanwhile made it take the runner and path, so main failed to typecheck. AI-assisted; verified with the tests and tools listed above.
1 parent 0318ead commit ee8fe33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/cloud/bootService.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export const bootServiceUnitPath = Effect.fn("cloud.boot_service.unit_path")(fun
411411
if (platform === "darwin") return launchdPlistPath(path, homeDir);
412412
if (platform !== "linux") return undefined;
413413
const unitDir =
414-
(yield* readSystemdUnitDirectory()) ??
414+
(yield* readSystemdUnitDirectory(yield* ProcessRunner.ProcessRunner, path)) ??
415415
defaultSystemdUnitDir(path, homeDir, (yield* HostProcess.Environment).XDG_CONFIG_HOME ?? "");
416416
return path.join(unitDir, BOOT_SERVICE_UNIT_FILE);
417417
});

0 commit comments

Comments
 (0)