mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
17 lines
259 B
Go
17 lines
259 B
Go
![]() |
// +build !linux
|
||
|
|
||
|
package systemd
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"github.com/dotcloud/docker/pkg/cgroups"
|
||
|
)
|
||
|
|
||
|
func UseSystemd() bool {
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func systemdApply(c *Cgroup, pid int) (cgroups.ActiveCgroup, error) {
|
||
|
return nil, fmt.Errorf("Systemd not supported")
|
||
|
}
|