1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Basic configuration

This patch introduces a basic on disk configuration, comprised of a main
configuration file and per-domain directories.

It's still not complete, but will be extended in subsequent patches.
This commit is contained in:
Alberto Bertogli
2015-10-31 19:37:30 +00:00
parent f055a3460e
commit a809a3caa9
6 changed files with 303 additions and 21 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
message Config {
// Hostname to use when we say hello.
// For aesthetic purposes, but may help if our ip address resolves to it.
// Default: machine hostname.
string hostname = 1;
// Maximum email size, in megabytes.
// Default: 50.
int64 max_data_size_mb = 2;
// Addresses to listen on.
// Default: "systemd", which means systemd passes sockets to us.
repeated string address = 3;
// Address for the monitoring http server.
// Default: no monitoring http server.
string monitoring_address = 4;
}