Age | Commit message (Collapse) | Author |
|
|
|
This fixes an incorrect variable assignment in cgroup_get_pids
|
|
This adds the ability to kill all processes within a service's cgroup
when that service is stopped or restarted.
|
|
This reworks cgroups support so we have one variable in rc.conf for each
controller instead of each setting.
Also we add support for all of the possible cgroup controllers.
I would like to thank Alexander Vershilov for his help with testing and
reworking this code.
|
|
|
|
sh/rc-cgroup.sh.in: new script to handle cgroup processing
sh/rc-cgroup.sh.in: do not use grep or cut (modification by William Hubbs)
sh/runscript.sh.in: use the cgroup script
|