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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

2805 );
2806
2807const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
2808 switch (platform) {
2809 case "darwin":
2810 return "launchd";
2811 case "linux":
2812 return "systemd --user";
2813 case "win32":
2814 return "Windows Task Scheduler";
2815 case "unsupported":
2816 return "manual setup";
2817 }
2818};
2819
2820const installService = (port: number, commandName: string, boot = false) =>
2821 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected