]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Libcgroup: added cgconfig.service unit for systemd.
authorJan Safranek <jsafrane@redhat.com>
Thu, 15 Dec 2011 13:55:51 +0000 (14:55 +0100)
committerJan Safranek <jsafrane@redhat.com>
Fri, 16 Dec 2011 12:51:41 +0000 (13:51 +0100)
commit248ee164ee7818e5640dace6fad6533c4c94087b
tree23598e6e5ccc6c3ae2501dbf5c537c9ef06995a6
parent156f50341a80580caf15a7a781cfdcd48ae2ca22
Libcgroup: added cgconfig.service unit for systemd.

The cgconfig.service unit file should create all groups in
/etc/cgconfig.conf and (if not overriden in the config file) with sticky
bit on their tasks file. On service stop, only control groups specified in the
config file are cleared and only if they are empty (i.e. no subgroups and no
processes inside).

Please review carefully, especially the ordering. I want the service to
start as early as possible, but not before local filesystem is ready.

Changelog:
 - updated After/Before dependencies

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
dist/cgconfig.service [new file with mode: 0644]