mirror of
https://github.com/rclone/rclone.git
synced 2024-12-25 21:43:59 +08:00
298c13e719
rather than having 2 separate libraries Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
19 lines
301 B
Go
19 lines
301 B
Go
//go:build linux && !android
|
|
// +build linux,!android
|
|
|
|
package docker
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/coreos/go-systemd/v22/activation"
|
|
"github.com/coreos/go-systemd/v22/util"
|
|
)
|
|
|
|
func systemdActivationFiles() []*os.File {
|
|
if util.IsRunningSystemd() {
|
|
return activation.Files(false)
|
|
}
|
|
return nil
|
|
}
|