aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-12 15:10:56 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-12 15:10:56 +0800
commit5e6c670483d41cf1b2a33ab5e6d56f9ea94f55f2 (patch)
treec1c583daaff494690979920e7b510a35de7ed5f5
parentReset state on STARTTLS, conforming to RFC7817ยง4.2 (diff)
downloadmaild-5e6c670483d41cf1b2a33ab5e6d56f9ea94f55f2.tar.gz
maild-5e6c670483d41cf1b2a33ab5e6d56f9ea94f55f2.tar.zst
maild-5e6c670483d41cf1b2a33ab5e6d56f9ea94f55f2.zip
Change default config path to /etc/lindenii/maild.scfg
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 91ca98f..7d6cf8f 100644
--- a/main.go
+++ b/main.go
@@ -13,7 +13,7 @@ import (
const VERSION = "lindenii-maild v0.0.0"
func main() {
- config_path := flag.String("config", "maild.scfg", "path to configuration file")
+ config_path := flag.String("config", "/etc/lindenii/maild.scfg", "path to configuration file")
err := load_config(*config_path)
if err != nil {
panic(err)