chiark / gitweb /
Detect running cgroup controller.
authorSven Eden <yamakuzure@gmx.net>
Thu, 16 Feb 2017 05:16:10 +0000 (06:16 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:23:13 +0000 (10:23 +0100)
commitc190efa0e56ab46fd484e489f31a7622bf041de6
tree197a7c434e620d519439b0345bc9ce526985c729
parent99015227d48e9e04fe72ecf1f0a09a7c79ac575e
Detect running cgroup controller.

elogind has to run on any system, no matter which init system is in
control of the cgroups. So instead of hardcoding "name=foo",
configure now greps 1: in /proc/self/cgroup - which is hopefully
the right choice. (Well, to be honest, if it isn't, something is
really wrong with the running system...)
Makefile.am
configure.ac
src/basic/cgroup-util.c
src/basic/def.h