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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

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

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected