Added cgroup detection.