2020-12-29 00:07:12 +01:00
|
|
|
// Systemd interface for non-Unix variants only
|
|
|
|
|
2023-11-29 10:25:30 +01:00
|
|
|
//go:build !unix
|
2020-12-29 00:07:12 +01:00
|
|
|
|
|
|
|
package log
|
|
|
|
|
|
|
|
import (
|
|
|
|
"runtime"
|
2024-08-18 16:58:35 +02:00
|
|
|
|
|
|
|
"github.com/rclone/rclone/fs"
|
2020-12-29 00:07:12 +01:00
|
|
|
)
|
|
|
|
|
2023-11-29 10:25:30 +01:00
|
|
|
// Enables systemd logs if configured or if auto-detected
|
2020-12-29 00:07:12 +01:00
|
|
|
func startSystemdLog() bool {
|
2024-08-18 16:58:35 +02:00
|
|
|
fs.Fatalf(nil, "--log-systemd not supported on %s platform", runtime.GOOS)
|
2020-12-29 00:07:12 +01:00
|
|
|
return false
|
|
|
|
}
|
2023-11-29 10:25:30 +01:00
|
|
|
|
|
|
|
func isJournalStream() bool {
|
|
|
|
return false
|
|
|
|
}
|