use sendKillSequence instead of ctx-kill
[util-vserver.git] / util-vserver / scripts / vserver.stop
index 396da71..55af27d 100644 (file)
@@ -36,7 +36,7 @@ cd "$VSERVER_DIR"/vdir/
     "$_CAPCHROOT"    "${CAPCHROOT_OPTS[@]}" . "${INITCMD_STOP[@]}"
 
 "${INITCMD_STOP_SYNC[@]}"
-"$_CTX_KILL" -c "$S_CONTEXT" -- "${INITKILL_SEQ[@]}"
+sendKillSequence  "$S_CONTEXT" "${INITKILL_SEQ[@]}"
 
 execScriptlets    "$VSERVER_DIR" "$VSERVER_NAME" post-stop