aboutsummaryrefslogtreecommitdiff
path: root/sh/rc-cgroup.sh.in
AgeCommit message (Collapse)Author
2013-09-27fix cgroup_cleanup functionWilliam Hubbs
The yesno test for rc_cgroup_cleanup belongs at the point where this function is called from runscript, not in the function itself. X-Gentoo-Bug: 486210 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=486210
2013-07-25rc-cgroup: make sure the tasks file exists before adding the pidWilliam Hubbs
2013-07-05cgroups: change '$$' to 0 for consistencyWilliam Hubbs
2013-07-05Merge branch 'cgroup.systemd'William Hubbs
Conflicts: sh/rc-cgroup.sh.in
2013-07-01Put a service on into a top hierarchy of each cgroupAlexander V Vershilov
This change will fix unwanted cgroup inheriting from user cgroups, and fixes issues with systemd cgroup tracking by logind. However this fix can lead to incorrect work for some user cgroup controllers - so more advanced solution, that coveres such cases will be created later. Thanks to Fabio Erculiani (lxnay) for testing and general idea.
2013-06-25cgroups: add support for systemd cgroup hierarchyWilliam Hubbs
The systemd cgroup hierarchy support is being added so we can run logind outside of systemd. This is needed because software that was using consolekit is now migrating to logind. We do not create this hierarchy, we just add services to it if it exists.
2013-06-16cgroups: hide messages about non-existent processesAlexander V Vershilov
2013-05-25rc_cgroup.sh: fix typoAlexander V Vershilov
This fixes an incorrect variable assignment in cgroup_get_pids
2013-04-25add cgroup cleanup supportAlexander Vershilov
This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
2013-02-19cgroups: major update to cgroups supportWilliam Hubbs
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.
2013-02-19cgroups: fix shebang line in rc-cgroup.shWilliam Hubbs
2013-02-16Add module for cgroup processingAlexander Vershilov
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