aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-02-20 16:45:02 +0800
committerGitHub <noreply@github.com>2021-02-20 16:45:02 +0800
commitf69356f5890f28d102d807297f8a5da915435482 (patch)
treed5ee05dd243c1fa5d023a13f0e69d98b798802d9 /weed/command/server.go
parent7ffe736d20f68cd0bd3d000649494e4550127c7d (diff)
parent565f7a6e724cf2dca401bd699a65f5814606ebfe (diff)
downloadseaweedfs-f69356f5890f28d102d807297f8a5da915435482.tar.xz
seaweedfs-f69356f5890f28d102d807297f8a5da915435482.zip
Merge pull request #3 from chrislusf/master
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 61cac2cc7..d7c41b014 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -121,6 +121,8 @@ func init() {
webdavOptions.port = cmdServer.Flag.Int("webdav.port", 7333, "webdav server http listen port")
webdavOptions.collection = cmdServer.Flag.String("webdav.collection", "", "collection to create the files")
+ webdavOptions.replication = cmdServer.Flag.String("webdav.replication", "", "replication to create the files")
+ webdavOptions.disk = cmdServer.Flag.String("webdav.disk", "", "[hdd|ssd] hard drive or solid state drive")
webdavOptions.tlsPrivateKey = cmdServer.Flag.String("webdav.key.file", "", "path to the TLS private key file")
webdavOptions.tlsCertificate = cmdServer.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
webdavOptions.cacheDir = cmdServer.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")