diff --git a/Makefile.in b/Makefile.in index 7054a5b23a..220aa56d03 100644 --- a/Makefile.in +++ b/Makefile.in @@ -253,7 +253,7 @@ $(binary_package): $(admin_dir)/build build packages mkdir build/admin cp -R $(admin_dir)/build/* build/admin/ cp -R scripts/ build/ - cp config.toml.sample build/config.toml + cp config.sample.toml build/config.toml sed -i 's/.\/admin/\/opt\/influxdb\/current\/admin/g' build/config.toml sed -i 's/influxdb.log/\/opt\/influxdb\/shared\/log.txt/g' build/config.toml sed -i 's/\/tmp\/influxdb\/development\/db/\/opt\/influxdb\/shared\/data\/db/g' build/config.toml diff --git a/config.toml.sample b/config.sample.toml similarity index 100% rename from config.toml.sample rename to config.sample.toml diff --git a/src/daemon/influxd.go b/src/daemon/influxd.go index 78422d6af2..620765f963 100644 --- a/src/daemon/influxd.go +++ b/src/daemon/influxd.go @@ -56,7 +56,7 @@ func setupLogging(loggingLevel, logFile string) { } func main() { - fileName := flag.String("config", "config.toml.sample", "Config file") + fileName := flag.String("config", "config.sample.toml", "Config file") wantsVersion := flag.Bool("v", false, "Get version number") resetRootPassword := flag.Bool("reset-root", false, "Reset root password") pidFile := flag.String("pidfile", "", "the pid file") diff --git a/src/integration/benchmark_test.go b/src/integration/benchmark_test.go index 4118d15b53..0472c4b0c0 100644 --- a/src/integration/benchmark_test.go +++ b/src/integration/benchmark_test.go @@ -108,7 +108,7 @@ func (self *Server) start() error { root := filepath.Join(dir, "..", "..") filename := filepath.Join(root, "daemon") if self.configFile == "" { - self.configFile = "config.toml.sample" + self.configFile = "config.sample.toml" } p, err := os.StartProcess(filename, []string{filename, "-config", self.configFile}, &os.ProcAttr{ Dir: root,