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

Function systemdUnitDir

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

Source from the content-addressed store, hash-verified

410// ---------------------------------------------------------------------------
411
412const systemdUnitDir = (path: Path.Path): string =>
413 path.join(homedir(), ".config", "systemd", "user");
414
415const systemdUnitPath = (path: Path.Path): string =>
416 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