summaryrefslogtreecommitdiff
path: root/sh/rc-cgroup.sh.in
Commit message (Collapse)AuthorAge
* rc-cgroup: make sure the tasks file exists before adding the pidWilliam Hubbs2013-07-25
|
* cgroups: change '$$' to 0 for consistencyWilliam Hubbs2013-07-05
|
* Merge branch 'cgroup.systemd'William Hubbs2013-07-05
|\ | | | | | | | | Conflicts: sh/rc-cgroup.sh.in
| * Put a service on into a top hierarchy of each cgroupAlexander V Vershilov2013-07-01
| | | | | | | | | | | | | | | | | | | | | | 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.
* | cgroups: add support for systemd cgroup hierarchyWilliam Hubbs2013-06-25
|/ | | | | | | | 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.
* cgroups: hide messages about non-existent processesAlexander V Vershilov2013-06-16
|
* rc_cgroup.sh: fix typoAlexander V Vershilov2013-05-25
| | | | This fixes an incorrect variable assignment in cgroup_get_pids
* add cgroup cleanup supportAlexander Vershilov2013-04-25
| | | | | This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
* cgroups: major update to cgroups supportWilliam Hubbs2013-02-19
| | | | | | | | | | 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.
* cgroups: fix shebang line in rc-cgroup.shWilliam Hubbs2013-02-19
|
* Add module for cgroup processingAlexander Vershilov2013-02-16
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