mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
18 lines
334 B
Go
18 lines
334 B
Go
// Systemd interface for non-Unix variants only
|
|
|
|
//go:build windows || nacl || plan9
|
|
// +build windows nacl plan9
|
|
|
|
package log
|
|
|
|
import (
|
|
"log"
|
|
"runtime"
|
|
)
|
|
|
|
// Enables systemd logs if configured or if auto detected
|
|
func startSystemdLog() bool {
|
|
log.Fatalf("--log-systemd not supported on %s platform", runtime.GOOS)
|
|
return false
|
|
}
|