Marks this process as the running instance of a long-running command for a project.
Mutual exclusion uses proper-lockfile: an atomic mkdir lock whose mtime this process refreshes as a heartbeat.
An exclusive startup directory serializes abandoned-lock recovery. An interrupted startup requires explicit
cleanup of that directory. A live owner blocks takeover, including when its heartbeat is stale.
Marks this process as the running instance of a long-running command for a project.
Mutual exclusion uses
proper-lockfile: an atomicmkdirlock whose mtime this process refreshes as a heartbeat. An exclusive startup directory serializes abandoned-lock recovery. An interrupted startup requires explicit cleanup of that directory. A live owner blocks takeover, including when its heartbeat is stale.