X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvserver.stop;h=794ac5c5499840d4239dec30a10998ddcf471d18;hb=07a3904f8220fbc4d12d85fb45bc44eeefc3d6ae;hp=79fb97a428b3a5ad9e69e3a5e3cd1e6eb808d477;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/scripts/vserver.stop b/scripts/vserver.stop index 79fb97a..794ac5c 100644 --- a/scripts/vserver.stop +++ b/scripts/vserver.stop @@ -84,6 +84,8 @@ else "${INITCMD_STOP[@]}" || fail=1 fi +vshelper.doStopSync + waitForSync "$VSERVER_DIR" "$sync_fifo" "$vwait_statdir" vshelper.doDestroy "$VSERVER_DIR" "$S_CONTEXT" @@ -101,3 +103,4 @@ disableInterfaces "$VSERVER_DIR" saveDiskLimits "$VSERVER_DIR" execScriptlets "$VSERVER_DIR" "$VSERVER_NAME" postpost-stop +removeCPUSET "$VSERVER_DIR"