From 10871381f30127a2904c04ba9e80e9d6c9e3ca45 Mon Sep 17 00:00:00 2001 From: damocles Date: Mon, 1 Jun 2026 16:47:27 +0200 Subject: [PATCH] fix(702): replace SystemdRunMachine with specific ReloadGatewayNginx --- hive-sh4re/src/priv_proto.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hive-sh4re/src/priv_proto.rs b/hive-sh4re/src/priv_proto.rs index 98e5f558..6dc7e0f9 100644 --- a/hive-sh4re/src/priv_proto.rs +++ b/hive-sh4re/src/priv_proto.rs @@ -50,10 +50,9 @@ pub enum PrivRequest { /// `chmod(2)` a path under a hive-managed prefix. Chmod { path: PathBuf, mode: u32 }, - /// Run a command inside a machine container via `systemd-run --machine`. - /// - /// The machine name must be a hive-managed container. - SystemdRunMachine { machine: String, cmd: Vec }, + /// Reload nginx inside the `hive-gateway` container via + /// `systemd-run --machine=hive-gateway nginx -s reload`. + ReloadGatewayNginx, } /// Response from the privileged helper.