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

Function serviceManagerName

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

Source from the content-addressed store, hash-verified

2913 );
2914
2915const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => {
2916 switch (platform) {
2917 case "darwin":
2918 return "launchd";
2919 case "linux":
2920 return "systemd --user";
2921 case "win32":
2922 return "Windows Task Scheduler";
2923 case "unsupported":
2924 return "manual setup";
2925 }
2926};
2927
2928const installService = (port: number, commandName: string, boot = false) =>
2929 Effect.gen(function* () {

Callers 1

installServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected