refactor(#2285): inline remaining 1:1 path wrappers (meta_dir, marker fns, host_conf_path)
This commit is contained in:
parent
cfb84b420a
commit
556a213320
11 changed files with 39 additions and 72 deletions
|
|
@ -224,6 +224,10 @@ pub fn shared_root() -> PathBuf {
|
|||
pub const KNOWLEDGE_DIR: &str = "/var/lib/hyperhive/knowledge";
|
||||
|
||||
/// `gateway/` — generated nginx include fragments for the gateway vhost.
|
||||
/// The gateway container bind-mounts *this subdir only* (not the whole
|
||||
/// state root) at `/run/hive-state/`, so nginx can read `agents.conf`
|
||||
/// without the rest of `/var/lib/hyperhive/` (forge/matrix tokens, etc.)
|
||||
/// being exposed to the gateway container.
|
||||
// nix: bind-mounted into the gateway container (hive-gateway.nix) — must match.
|
||||
#[must_use]
|
||||
pub fn gateway_dir() -> PathBuf {
|
||||
|
|
|
|||
Loading…
Reference in a new issue