summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-17 21:27:53 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-17 21:27:53 +0100
commitd686d8a97bd7945af0a61504392d01a3167b576f (patch)
tree76353a8e60d353e1f42b375c8493ffa5873068aa /src/service.c
parent74fe1fe36e35a26d764f1e3119d5f6d014db573c (diff)
cgroup: by default, duplicate service cgroup in the cpu hierarchy
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 0234151700..429b53d4f8 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1055,7 +1055,7 @@ static int service_load(Unit *u) {
if ((r = unit_add_exec_dependencies(u, &s->exec_context)) < 0)
return r;
- if ((r = unit_add_default_cgroup(u)) < 0)
+ if ((r = unit_add_default_cgroups(u)) < 0)
return r;
#ifdef HAVE_SYSV_COMPAT