diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
commit | a5b65c81168c90928784a1e92cda84ed5d6b9eb3 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /dev-libs/libcgroup/files/cgred.initd | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'dev-libs/libcgroup/files/cgred.initd')
-rw-r--r-- | dev-libs/libcgroup/files/cgred.initd | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-libs/libcgroup/files/cgred.initd b/dev-libs/libcgroup/files/cgred.initd deleted file mode 100644 index d507e09a8154..000000000000 --- a/dev-libs/libcgroup/files/cgred.initd +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/openrc-run -# -# CGroups Rules Engine Daemon -# -# This is a daemon for automatically classifying processes into cgroups based -# on UID/GID. -# -opts="${opts} reload" - -CGRULESENGD="/usr/sbin/cgrulesengd" -PID_FILE=${PID_FILE:-"/var/run/cgred.pid"} - -depend() { - need cgconfig - use logger -} - -start() { - local options="${NODAEMON} ${LOG}" - if [[ -n "${LOG_FILE}" ]]; then - options="${options} --log-file=${LOG_FILE}" - fi - - ebegin "Starting CGroup Rules Engine Daemon" - start-stop-daemon --start --pidfile "${PID_FILE}" --make-pidfile \ - --background --exec "${CGRULESENGD}" -- ${options} >/dev/null - eend $? -} - -stop() { - ebegin "Stopping CGroup Rules Engine Daemon" - start-stop-daemon --stop --pidfile "${PID_FILE}" --exec "${CGRULESENGD}" - eend $? -} - -reload() { - ebegin "Reloading CGroup Rules Engine Daemon" - start-stop-daemon --stop --signal USR2 --oknodo --background \ - --pidfile "${PID_FILE}" --make-pidfile --exec "${CGRULESENGD}" - eend $? -} |