16 lines
209 B
Go
16 lines
209 B
Go
|
// +build !linux
|
||
|
|
||
|
package cgroups
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func useSystemd() bool {
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func systemdApply(c *Cgroup, pid int) (ActiveCgroup, error) {
|
||
|
return nil, fmt.Errorf("Systemd not supported")
|
||
|
}
|