mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 12:26:44 +08:00
19 lines
293 B
Go
19 lines
293 B
Go
//go:build linux && !android
|
|
// +build linux,!android
|
|
|
|
package docker
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/coreos/go-systemd/activation"
|
|
"github.com/coreos/go-systemd/util"
|
|
)
|
|
|
|
func systemdActivationFiles() []*os.File {
|
|
if util.IsRunningSystemd() {
|
|
return activation.Files(false)
|
|
}
|
|
return nil
|
|
}
|