# HG changeset patch # User Sascha L. Teichmann # Date 1533327606 -7200 # Node ID dabe189369adc9ce247a65e479d2b7068aae2bf5 # Parent e48da6f427c8808ccf79ce26d50974b933eceda2 Configuration: Port numbers are integers. Mail port defaults to 465 (SSL). diff -r e48da6f427c8 -r dabe189369ad cmd/gemma/gemma.toml.example --- a/cmd/gemma/gemma.toml.example Fri Aug 03 22:10:59 2018 +0200 +++ b/cmd/gemma/gemma.toml.example Fri Aug 03 22:20:06 2018 +0200 @@ -7,7 +7,7 @@ # Host and port to listen on: #host = "localhost" -#port = "8000" +#port = 8000 # Where to find the data of the web client (SPA) to serve: web = "./web" @@ -21,7 +21,7 @@ # DB connection configuration: #dbhost = "localhost" #dbname = "gemma" -#dbport = "5432" +#dbport = 5432 #dbssl = "prefer" # Database account to use for service tasks @@ -35,7 +35,7 @@ # SMTP connection configuration: #mail-host = "localhost" #mail-password = "SECRET" -#mail-port = "464" +#mail-port = 465 #mail-user = "gemma" # Client data to use: diff -r e48da6f427c8 -r dabe189369ad config/config.go --- a/config/config.go Fri Aug 03 22:10:59 2018 +0200 +++ b/config/config.go Fri Aug 03 22:20:06 2018 +0200 @@ -61,7 +61,7 @@ fl.String("service-password", "", "password of user to do service tasks") fl.String("mail-host", "localhost", "server to send mail with") - fl.Uint("mail-port", 464, "port of server to send mail with") + fl.Uint("mail-port", 465, "port of server to send mail with") fl.String("mail-user", "gemma", "user to send mail with") fl.String("mail-password", "", "password of user to send mail with") fl.String("mail-from", "noreplay@localhost", "from line of mails")