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

Function systemdUnitDir

apps/cli/src/service.ts:416–417  ·  view source on GitHub ↗
(path: Path.Path)

Source from the content-addressed store, hash-verified

414// ---------------------------------------------------------------------------
415
416const systemdUnitDir = (path: Path.Path): string =>
417 path.join(homedir(), ".config", "systemd", "user");
418
419const systemdUnitPath = (path: Path.Path): string =>
420 path.join(systemdUnitDir(path), `${SERVICE_LABEL}.service`);

Callers 2

systemdUnitPathFunction · 0.85
makeSystemdBackendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected