From 874af9b05bec0bd73a333166a8b5291ecb1c0e3e Mon Sep 17 00:00:00 2001 From: Andrew Fontaine Date: Wed, 26 Jan 2022 22:10:49 -0500 Subject: Add custom sudo command support This is useful for nodes that utilize `doas` instead of `sudo`. --- src/data.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/data.rs') diff --git a/src/data.rs b/src/data.rs index 6fe7f75..b00a4d0 100644 --- a/src/data.rs +++ b/src/data.rs @@ -28,6 +28,8 @@ pub struct GenericSettings { pub temp_path: Option, #[serde(rename(deserialize = "magicRollback"))] pub magic_rollback: Option, + #[serde(rename(deserialize = "sudo"))] + pub sudo: Option, } #[derive(Deserialize, Debug, Clone)] -- cgit v1.2.3