change default configuration file location

This commit is contained in:
Chris Lu 2012-09-23 02:52:04 -07:00
parent 73dbb3aed9
commit d89371af99

View file

@ -34,7 +34,7 @@ var (
capacity = cmdMaster.Flag.Int("capacity", 100, "maximum number of volumes to hold")
volumeSizeLimitMB = cmdMaster.Flag.Uint("volumeSizeLimitMB", 32*1024, "Default Volume Size in MegaBytes")
mpulse = cmdMaster.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats")
confFile = cmdMaster.Flag.String("conf", "./weed.xml", "configuration file")
confFile = cmdMaster.Flag.String("conf", "/etc/weed.conf", "xml configuration file")
)
var mapper *directory.Mapper