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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

3001 );
3002
3003const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
3004 switch (platform) {
3005 case "darwin":
3006 return "launchd";
3007 case "linux":
3008 return "systemd --user";
3009 case "win32":
3010 return "Windows Task Scheduler";
3011 case "unsupported":
3012 return "manual setup";
3013 }
3014};
3015
3016const installService = (port: number, commandName: string, boot = false) =>
3017 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected