hive-agent: correct doc comments that describe sentinel files, session flags and outcomes the code no longer has
This commit is contained in:
parent
70d1b542e3
commit
ac0bed47e9
1 changed files with 40 additions and 38 deletions
|
|
@ -169,11 +169,12 @@ pub async fn serve(
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Bind a `UnixListener` at `path` and drop a `.bound` marker next
|
||||
/// to it so c0re's gateway-map writer knows the socket is live.
|
||||
/// Bind a `UnixListener` at `path` and drop a `hyperhive-socket-bound` marker
|
||||
/// next to it so c0re's gateway-map writer knows the socket is live.
|
||||
/// Best-effort unlinks any stale socket left from a crashed previous
|
||||
/// harness (clean exit removes it, but `bind(2)` refuses to overwrite
|
||||
/// an existing file) and `mkdir -p`s the parent for first-boot. Mode
|
||||
/// harness (nothing removes the socket or marker on exit, and `bind(2)`
|
||||
/// refuses to overwrite an existing file) and `mkdir -p`s the parent for
|
||||
/// first-boot. Mode
|
||||
/// `0o666` — world-accessible so the gateway's nginx process can
|
||||
/// `connect(2)` without sharing a group with the agent user. What bounds
|
||||
/// that is the per-agent subdir (`/run/hive-agent/<name>/`): the socket
|
||||
|
|
|
|||
Loading…
Reference in a new issue