mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 00:43:49 +01:00
18 lines
276 B
Go
18 lines
276 B
Go
//go: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
|
|
}
|