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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

2853 );
2854
2855const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
2856 switch (platform) {
2857 case "darwin":
2858 return "launchd";
2859 case "linux":
2860 return "systemd --user";
2861 case "win32":
2862 return "Windows Task Scheduler";
2863 case "unsupported":
2864 return "manual setup";
2865 }
2866};
2867
2868const installService = (port: number, commandName: string, boot = false) =>
2869 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected