[Crunch] cgroups root needs to be detected or configurable
crunch-job hardcodes the cgroups root (in a crunchstat switch) at
/sys/fs/cgroup. CentOS 6 has this mount at
crunch-job should lets the administrator configure the cgroup root via CRUNCH_CGROUP_ROOT environment variable in the crunch-dispatch run script, just like we do with the docker/docker.io binary. If unset, use
Extend the install guide to document how to configure this.
#7 Updated by Brett Smith almost 6 years ago
Reviewing 6f3da61. Nice test.
- There's a second place in crunch-job where -cgroup-root is hardcoded, under "# Non-docker run". Please edit this to use the new variable too.
- In the runit script comment, please spell it "CentOS 6", since "centos6" is basically just an internal codename we use.
Go ahead and merge with those changes, since they're pretty straightforward. Thanks.