From 0bbb764f70dcbaa8cfa3ffbb2b318274d1180120 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 17 Nov 2011 16:42:03 -0600 Subject: Change RC_CGROUP to lower case --- sh/runscript.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 73b4a59..ca9c133 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -192,7 +192,7 @@ sourcex -e "@SYSCONFDIR@/rc.conf" # Attach to CGroup - dir existing is enough for us if [ -d /sys/fs/cgroup/ ]; then # use RC_SVCNAME unless overridden in conf.d - SVC_CGROUP=${RC_CGROUP:-$RC_SVCNAME} + SVC_CGROUP=${rc_cgroup:-$RC_SVCNAME} mkdir -p /sys/fs/cgroup/${SVC_CGROUP} # now attach self to cgroup - any children of this process will inherit this echo $$ > /sys/fs/cgroup/${SVC_CGROUP}/tasks @@ -305,7 +305,7 @@ done # CGroup cleanup if [ -d /sys/fs/cgroup/ ]; then # use RC_SVCNAME unless overridden in conf.d - SVC_CGROUP=${RC_CGROUP:-$RC_SVCNAME} + SVC_CGROUP=${rc_cgroup:-$RC_SVCNAME} # reattach to root cgroup echo $$ > /sys/fs/cgroup/tasks # remove cgroup if empty, will fail if any task attached -- cgit v1.2.3