Attach to the cgroup.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 1 Dec 2008 20:48:32 +0000 (20:48 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 1 Dec 2008 20:48:32 +0000 (20:48 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2828 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.suexec

index f6c9e78..eede669 100644 (file)
@@ -22,7 +22,8 @@ test -z "$is_stopped" -o "$OPTION_INSECURE" || {
     exit 1
 }
 generateOptions  "$VSERVER_DIR"
-addtoCPUSET  "$VSERVER_DIR"
+addtoCPUSET      "$VSERVER_DIR"
+attachToCgroup   "$VSERVER_DIR"
 
 user=$1
 shift