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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

2884 );
2885
2886const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
2887 switch (platform) {
2888 case "darwin":
2889 return "launchd";
2890 case "linux":
2891 return "systemd --user";
2892 case "win32":
2893 return "Windows Task Scheduler";
2894 case "unsupported":
2895 return "manual setup";
2896 }
2897};
2898
2899const installService = (port: number, commandName: string, boot = false) =>
2900 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected