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

Function systemdUnitPath

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

Source from the content-addressed store, hash-verified

417 path.join(homedir(), ".config", "systemd", "user");
418
419const systemdUnitPath = (path: Path.Path): string =>
420 path.join(systemdUnitDir(path), `${SERVICE_LABEL}.service`);
421
422export interface SystemdUnitOptions {
423 readonly execStart: ReadonlyArray<string>;

Callers 1

makeSystemdBackendFunction · 0.85

Calls 1

systemdUnitDirFunction · 0.85

Tested by

no test coverage detected