1 |
commit: cee3919908c2d715fd75a796873e3308209a4c2e |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 1 21:43:09 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 1 21:43:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=cee39199 |
7 |
|
8 |
Clean up the calls to group_add_service |
9 |
|
10 |
This function should only be called once and it does not take any |
11 |
arguments. |
12 |
|
13 |
X-Gentoo-Bug: 639166 |
14 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=639166 |
15 |
|
16 |
sh/openrc-run.sh.in | 3 +-- |
17 |
1 file changed, 1 insertion(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in |
20 |
index 05cb972b..95d0ecab 100644 |
21 |
--- a/sh/openrc-run.sh.in |
22 |
+++ b/sh/openrc-run.sh.in |
23 |
@@ -264,8 +264,7 @@ for _cmd; do |
24 |
eerror "No permission to apply cgroup settings" |
25 |
break |
26 |
fi |
27 |
- cgroup_add_service /sys/fs/cgroup/openrc |
28 |
- cgroup_add_service /sys/fs/cgroup/systemd/system |
29 |
+ cgroup_add_service |
30 |
fi |
31 |
[ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && |
32 |
cgroup_set_limits |