b30f280d2f
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
17 lines
266 B
Go
17 lines
266 B
Go
// +build !linux
|
|
|
|
package systemd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
|
|
)
|
|
|
|
func UseSystemd() bool {
|
|
return false
|
|
}
|
|
|
|
func Apply(c *Cgroup, pid int) (cgroups.ActiveCgroup, error) {
|
|
return nil, fmt.Errorf("Systemd not supported")
|
|
}
|