2014-04-19 04:30:08 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package systemd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"github.com/dotcloud/docker/pkg/cgroups"
|
|
|
|
)
|
|
|
|
|
|
|
|
func UseSystemd() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2014-04-23 09:00:12 +00:00
|
|
|
func Apply(c *Cgroup, pid int) (cgroups.ActiveCgroup, error) {
|
2014-04-19 04:30:08 +00:00
|
|
|
return nil, fmt.Errorf("Systemd not supported")
|
|
|
|
}
|