MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / serviceManagerName

Function serviceManagerName

apps/cli/src/main.ts:3032–3043  ·  view source on GitHub ↗
(platform: ReturnType<typeof getServiceBackend>["platform"])

Source from the content-addressed store, hash-verified

3030 );
3031
3032const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
3033 switch (platform) {
3034 case "darwin":
3035 return "launchd";
3036 case "linux":
3037 return "systemd --user";
3038 case "win32":
3039 return "Windows Task Scheduler";
3040 case "unsupported":
3041 return "manual setup";
3042 }
3043};
3044
3045const installService = (port: number, commandName: string, boot = false) =>
3046 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected