summaryrefslogtreecommitdiff
path: root/pkg/cgroups/apply_nosystemd.go
blob: f94d475907338b67a57e69d4d06fee3ba10c2efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +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")
}