diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/cgmanager/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/cgmanager/files')
-rw-r--r-- | app-admin/cgmanager/files/cgmanager.initd-r1 | 14 | ||||
-rw-r--r-- | app-admin/cgmanager/files/cgproxy.initd-r1 | 27 |
2 files changed, 0 insertions, 41 deletions
diff --git a/app-admin/cgmanager/files/cgmanager.initd-r1 b/app-admin/cgmanager/files/cgmanager.initd-r1 deleted file mode 100644 index 6efc80b7155a..000000000000 --- a/app-admin/cgmanager/files/cgmanager.initd-r1 +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Control Group manager daemon" -pidfile="/run/cgmanager.pid" -command="/usr/sbin/cgmanager" -command_args="-m name=systemd" -command_background="yes" -retry="TERM/45" - -depend() { - before cgproxy -} diff --git a/app-admin/cgmanager/files/cgproxy.initd-r1 b/app-admin/cgmanager/files/cgproxy.initd-r1 deleted file mode 100644 index ceb075254a3f..000000000000 --- a/app-admin/cgmanager/files/cgproxy.initd-r1 +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Control Group manager proxy" -pidfile="/run/cgproxy.pid" -command="/usr/sbin/cgproxy" -command_args="--daemon" -command_background="yes" -retry="TERM/45" -NESTED="${NESTED:-no}" - -depend() { - after cgmanager -} - -start_pre() { - if ! /usr/sbin/cgproxy --check-master; then - ewarn "cgmanager is not running" - return 1 - fi - # cgproxy should only run on container unless on older kernel - if [ -e /proc/self/ns/pid ] && [ "$NESTED" != "yes" ]; then - eerror "Too old kernel to support cgroup, please update to >3.8" - return 1 - fi -} |