aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2021-08-16 00:54:51 +0800
committerGitHub <noreply@github.com>2021-08-16 00:54:51 +0800
commit27c05f8c0b5c7bda43babeb61d79684d11851111 (patch)
treed235573112ce168ca904acbc3932ed12e94de80c /weed/command/mount_std.go
parent97ad3e9d027216d74132652d4d899c7fc7c33ab1 (diff)
parentec989b037717f8fd7f0ed3bbc80f0a33654fe7aa (diff)
downloadseaweedfs-27c05f8c0b5c7bda43babeb61d79684d11851111.tar.xz
seaweedfs-27c05f8c0b5c7bda43babeb61d79684d11851111.zip
Merge pull request #80 from chrislusf/master
sync
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index dce2197d6..cdf340067 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -246,6 +246,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
glog.V(0).Infof("mounted %s%s to %v", *option.filer, mountRoot, dir)
server := fs.New(c, nil)
seaweedFileSystem.Server = server
+ seaweedFileSystem.StartBackgroundTasks()
err = server.Serve(seaweedFileSystem)
// check if the mount process has an error to report