mirror of
https://github.com/rclone/rclone
synced 2024-12-11 23:54:00 +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
|
|
}
|