aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-14 15:36:54 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-14 15:36:54 +0100
commit1b5f2eb695d658c57ba9c4264e76ca13bd82a958 (patch)
tree0d0be5a64b791fe6673a05aa2a61762aa208ab4d /src/config.rs
parent1f6e64d34e44b8b7bc7247af38bccf3ade86cf0b (diff)
downloadaerogramme-1b5f2eb695d658c57ba9c4264e76ca13bd82a958.tar.gz
aerogramme-1b5f2eb695d658c57ba9c4264e76ca13bd82a958.zip
implement the reload feature
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
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,