fix(702): replace SystemdRunMachine with specific ReloadGatewayNginx
This commit is contained in:
parent
c5cab732a2
commit
10871381f3
1 changed files with 3 additions and 4 deletions
|
|
@ -50,10 +50,9 @@ pub enum PrivRequest {
|
||||||
/// `chmod(2)` a path under a hive-managed prefix.
|
/// `chmod(2)` a path under a hive-managed prefix.
|
||||||
Chmod { path: PathBuf, mode: u32 },
|
Chmod { path: PathBuf, mode: u32 },
|
||||||
|
|
||||||
/// Run a command inside a machine container via `systemd-run --machine`.
|
/// Reload nginx inside the `hive-gateway` container via
|
||||||
///
|
/// `systemd-run --machine=hive-gateway nginx -s reload`.
|
||||||
/// The machine name must be a hive-managed container.
|
ReloadGatewayNginx,
|
||||||
SystemdRunMachine { machine: String, cmd: Vec<String> },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Response from the privileged helper.
|
/// Response from the privileged helper.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue