From 34165c7761474f9aa5335d69986bf99c93e5c0bc Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 28 Jul 2017 11:32:17 +0100 Subject: [PATCH] Add default config file name for media API and room servers (#168) --- .../matrix-org/dendrite/cmd/dendrite-media-api-server/main.go | 2 +- .../matrix-org/dendrite/cmd/dendrite-room-server/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go b/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go index 2c62cdb97..c6bd9dea6 100644 --- a/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go @@ -29,7 +29,7 @@ import ( var ( logDir = os.Getenv("LOG_DIR") - configPath = flag.String("config", "", "The path to the config file. For more information, see the config file in this repository.") + configPath = flag.String("config", "dendrite.yaml", "The path to the config file. For more information, see the config file in this repository.") ) func main() { diff --git a/src/github.com/matrix-org/dendrite/cmd/dendrite-room-server/main.go b/src/github.com/matrix-org/dendrite/cmd/dendrite-room-server/main.go index 8737c986c..bd8116b6d 100644 --- a/src/github.com/matrix-org/dendrite/cmd/dendrite-room-server/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/dendrite-room-server/main.go @@ -33,7 +33,7 @@ import ( var ( logDir = os.Getenv("LOG_DIR") - configPath = flag.String("config", "", "The path to the config file. For more information, see the config file in this repository.") + configPath = flag.String("config", "dendrite.yaml", "The path to the config file. For more information, see the config file in this repository.") ) func main() {