blob: 51540f9d7c914a97b0d0c3e0e6f9bba8e169b118 (
plain) (
tree)
|
|
package main
import (
"flag"
"go.lindenii.runxiyu.org/lindenii-common/clog"
)
const VERSION = "lindenii-maild v0.0.0"
func main() {
config_path := flag.String("config", "/etc/lindenii/maild.scfg", "path to configuration file")
flag.Parse()
err := load_config(*config_path)
if err != nil {
clog.Fatal(1, "Error while loading configuration file: "+err.Error())
}
go serve_mx()
deadlock := make(chan struct{})
deadlock <- struct{}{}
}
|