From: Marc Fiuczynski Date: Wed, 20 Oct 2004 21:45:43 +0000 (+0000) Subject: calls 'service resman stop ' rather than the vs2ckrm off directly X-Git-Tag: after-util-vserver-0_30_208-revert~223 X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=commitdiff_plain;h=1a105806d0b7a0937a730b3bc81480e96f435f43 calls 'service resman stop ' rather than the vs2ckrm off directly --- diff --git a/scripts/vuserdel b/scripts/vuserdel index 71fc06e..f83bbfb 100755 --- a/scripts/vuserdel +++ b/scripts/vuserdel @@ -4,7 +4,7 @@ # # Copyright (c) 2004 The Trustees of Princeton University (Trustees). # -# $Id: vuserdel,v 1.2 2004/10/20 02:56:23 mef Exp $ +# $Id: vuserdel,v 1.3 2004/10/20 19:00:52 mlhuang Exp $ # : ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars} @@ -27,7 +27,7 @@ NAME=$1 vserver $NAME stop # turn resource management off for vserver $NAME -[ -x /usr/sbin/vs2ckrm ] && /usr/sbin/vs2ckrm off $NAME +service resman stop $NAME # delete user userdel -r $NAME