diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-14 15:36:54 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-14 15:36:54 +0100 |
commit | 1b5f2eb695d658c57ba9c4264e76ca13bd82a958 (patch) | |
tree | 0d0be5a64b791fe6673a05aa2a61762aa208ab4d /src/config.rs | |
parent | 1f6e64d34e44b8b7bc7247af38bccf3ade86cf0b (diff) | |
download | aerogramme-1b5f2eb695d658c57ba9c4264e76ca13bd82a958.tar.gz aerogramme-1b5f2eb695d658c57ba9c4264e76ca13bd82a958.zip |
implement the reload feature
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index e50cd68..1438910 100644 --- a/src/config.rs +++ b/src/config.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct CompanionConfig { - pub pid: Option<String>, + pub pid: Option<PathBuf>, pub imap: ImapConfig, #[serde(flatten)] @@ -17,7 +17,7 @@ pub struct CompanionConfig { #[derive(Serialize, Deserialize, Debug, Clone)] pub struct ProviderConfig { - pub pid: Option<String>, + pub pid: Option<PathBuf>, pub imap: ImapConfig, pub lmtp: LmtpConfig, pub users: UserManagement, |