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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

2983 );
2984
2985const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
2986 switch (platform) {
2987 case "darwin":
2988 return "launchd";
2989 case "linux":
2990 return "systemd --user";
2991 case "win32":
2992 return "Windows Task Scheduler";
2993 case "unsupported":
2994 return "manual setup";
2995 }
2996};
2997
2998const installService = (port: number, commandName: string, boot = false) =>
2999 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected