mount: run rclone mount in the background - fixes #723

This commit is contained in:
ishuah 2018-03-02 16:30:04 +03:00 committed by Ishuah Kariuki
parent 90af7af9a3
commit ebfeec9fb4
4 changed files with 68 additions and 4 deletions

15
cmd/mountlib/daemon.go Normal file
View file

@ -0,0 +1,15 @@
// Daemonization interface for non-Unix variants only
// +build windows darwin,!cgo
package mountlib
import (
"log"
"runtime"
)
func startBackgroundMode() bool {
log.Fatalf("background mode not supported on %s platform", runtime.GOOS)
return false
}