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

Function systemdUnitDir

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

Source from the content-addressed store, hash-verified

421// ---------------------------------------------------------------------------
422
423const systemdUnitDir = (path: Path.Path): string =>
424 path.join(homedir(), ".config", "systemd", "user");
425
426const systemdUnitPath = (path: Path.Path): string =>
427 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